Sorry, but I never have seen so funny file as
In any way you should include grid.locale-en.js before jquery.jqGrid.min.js (see the documentation). Moreover you should use jsonReader parameter which corresponds your JSON data. For example it could be
jsonReader: { repeatitems: true }
It would be good to include id property in the data. The following could be used
jsonReader: { repeatitems: true, id: "name"
I answered you here before. You should use jsonReader instead of jsonreader to solve the problem.
Best regards
Oleg
It's known bug. Look at the answer
Sorry Tom, but the code which you post is very very bad. You should never use datatype as function just to make $.ajax request internaly. There are a lot of jqGrid options which allows you to customize request how you as want. You can ajaxGridOptions option and serializeGridData and beforeProcessing
Hello!
I will try to help you. You need clear understand which actions should be exectued one and which need be executed at the end of every filling of the grid body.
If you create the the grid using jQuery(“#list”).jqGrid({…}); the empty
element will be converted to grid. Many additional dived over the
will be created. For example it will be created div which hold the column headers, pager, caption abd so on. So one should create the grid once. In the same way after the grid with all the elemens are created you can for example modify the pager with the code $(“option[value=100000000]”).text('All');. You should do this once for example in the next line after jQuery(“#list”).jqGrid({…});. On the other time if you do the action inside of loadComplete on every grid filling it will only make the loading of grid a little slowly, but it will make no problems.
In the same you should create filter toolbar with respect of
Hello!
The reason on the problem seems to me the last changes where the value of this are changed in the calls of checkValues and
Hi Kris,
I agree that I expressed me not clear enough in my last post. What I suggest is mostly the code optimization of addSubGrid
Hello Tony!
I downlowded the current version of jqGrid from the download page and see a lot of changes, bug fixes and new features made after the first publishing of jqGrid 4.3.2. Would be it not better to change the version number from 4.3.2 to 4.3.3? It will simplify the troubleshoting.
One more strange thing one can see: the files src\i18n\grid.locale-en.js and src\i18n\grid.locale-de.js are new, but the files js\i18n\grid.locale-en.js and js\i18n\grid.locale-en.js are still old. Probebly it would be nice to place in the js\i18n
I described in my answer how the bug can be fixed. I repeat the description of the fix here. To fix the problem it's enough to set focus to any other element on the page which will be not destroyed by saveRow. It will force 'change' event in the which saves the current option choice and do additionally many other finalizations like closing popup menus (for example from datepicker or other controls which could be attached to the editing field).
So I suggest just to add the line
$(ta).closest("tr.jqgrow").focus();
before the line which calls saveRow. The demo uses the fix.
I hope that Tony will read the post and include the fix in the main code of jqGrid.
Best regards
Oleg
The version publishes as
You are welcome seph!
It would be helpful if you provide the demo (test case) which reproduces the problem. In the case on can quickly localize and fix the problem.
I used the demo
Hello Tony,
probably I should not write many things in one post. You answerd only on my last suggestion and not commented the previous one.
First of all I think one should fix mostly common used locale files like grid.locale-en.js. I posted the pool request
Hello Tony,
I examined the code of parseDate
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top