Forum

May 22nd, 2014
A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

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

Topic RSS Related Topics
data parameter are not modified during inline editing
13/07/2010
02:08
OlegK
Germany
Member
Forum Posts: 1219
Member Since:
10/08/2009
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
tony
Sofia, Bulgaria
Moderator
Forum Posts: 7580
Member Since:
30/10/2007
Offline

Hello Oleg,

Thanks, but it seems that this is not a bug.

Kind Regards

Tony

For professional UI suites for PHP, ASP.NET and ASP.NET MVC visit us at our commercial products site - trirand.net - by the very same guys that created jqGrid.
15/07/2010
12:45
OlegK
Germany
Member
Forum Posts: 1219
Member Since:
10/08/2009
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
tony
Sofia, Bulgaria
Moderator
Forum Posts: 7580
Member Since:
30/10/2007
Offline

Thanks Oleg,

Will do it.

Regards

Tony

For professional UI suites for PHP, ASP.NET and ASP.NET MVC visit us at our commercial products site - trirand.net - by the very same guys that created jqGrid.
Forum Timezone: Europe/Sofia

Most Users Ever Online: 215

Currently Online: hindos, JoHansen
122 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1219

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11244

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10448

Posts: 30879

Newest Members: onefootswill, JoHansen, manjunathmaski, blgsyrmhnds, toadicusrex, re-gor

Moderators: tony (7580), Rumen[Trirand] (81)

Administrators: admin (61)

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information