Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
data parameter are not modified during inline editing
13/07/2010
02:08
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

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/

15/07/2010
10:14
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

15/07/2010
12:45
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

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 

19/07/2010
16:06
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information