Forum
02:08
10/08/2009
Hi Tony!
I answerd on one question on StackOverflow (http://stackoverflow.com/quest.....59#3230059). The problem is that during inline editing (saveRow or editRow) only the data in the grid will be saved. The internal data parameter, used for holding of data in case of the local data holding, will be NOT modified. As a workaround I suggested to modify myGrid.getGridParam("data") based on the data read from the jqGrid after saving: myGrid.getRowData(rowid).
If one don't do this, then the grid data will be reseted after and sorting or paging operation and all modification will be disappeared.
If seems to me that modification of the internal data parameter should do jqGrid itself.
Best regards
Oleg
P.S. The problem are also posted under /blog/?page_id=393/help/losing-edited-cell-data-after-paging/
10:14
Moderators
30/10/2007
Hello Oleg,
Thanks, but it seems that this is not a bug.
Kind Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
12:45
10/08/2009
Thanks Tony,
I am not yet know new 3.7 features of jqGrid good enough.
Nevertheless, it seems to me that the new function refreshIndex should be at lease documented on /jqgridwiki/doku.php. If would be also nice if the setting of data parameter would be possible with only one setGridParam operation like for the most all other parameters documented in /jqgridwiki/doku.php?id=wiki:options . One can for example introduce additional jqGrid method (like for setting the capture) and write in the last column "Can be changed?" in the table from /jqgridwiki/doku.php?id=wiki:options the text "No.Method avail." or just like for setting altclass only write in the documentation something like "Yes. Requires index refresh with refreshIndex method".
Probably any changes of documentation are easier as changes of the code.
Best regards
Oleg
16:06
Moderators
30/10/2007
Thanks Oleg,
Will do it.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
22 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66