Ouch, just found out getRowData only returning visible rows. (Using javascript array as source)
(Just like setCell can only set visible rows, that I recently found:
http://www.trirand.com/blog/?p…..-it-fails/)
Is this a bug introduced recently? Perhaps I will try an earlier version? If this is not a bug, how can I get all rows??? If I cannot, I guess jqGrid is useless for me.
Creator
Topic
-
Hello,
You can do it reading carefully the docs.
You already have a
Hello,
Please do not post similar questions several times.
Thank you
Regards
Tony
Thanks Tony, I tried but grid_data contains the startup values, but it does not contain any changes made to it via editing in the grid.
You are wrong Giorgio!
The object accessible under the data parameter contain current local data saved in the jqGrid inclusive all modification of local data which are already saved.
Best regards
Oleg
Hello,
Then your question should be quite diffrent. Right?
This is not true. Tell me how you try to do it?
SetCell method and setRowData used in celEdit and inline edit affect correctly the array data.
Please check your code again
Regards
Tony
Guys, first and foremost thanks for your patience.
Oleg: I would LOVE to be wrong 🙂
Tony: In the same example that I posted, just replace the scc button call with this to get grid_data edit some value, although I do change a cell programmatically. But it has no effect. Just recording a video, so you can see.
Here is a live url for testing ( I am using Firefox 3.6):
http://s53452.gridserver.com/j….._test.html
The “Change value” under the grid does an alert for grid_data and it is unchanged 
and here is the video
(The conversation topic did change from getRowData, but it seems the topic is locked
)
Hello,
It seems you do not read the docs and post in this forum.
THE GRID SHOULD HAVE UNIQUIE ID.
Topic closed for me.
Regards
Tony
Thanks Tony.
The grid has a unique HTML id “#list”.
However, I noticed the grid rows have a column called “id” as well that have repeating numbers!
These need to be unique as well for “data” param to work
I was under the impression rowids are internal unless I set a “key” column as per the docs?
- The forum ‘Bugs’ is closed to new topics and replies.