Saving selected rows in a jqGrid while paging
Posted
by Dan
on Stack Overflow
See other posts from Stack Overflow
or by Dan
Published on 2010-04-21T13:05:46Z
Indexed on
2010/04/21
13:13 UTC
Read the original article
Hit count: 550
I have a jqGrid with which users will select records. A large number of records could be selected across multiple pages.
The selected rows seem to get cleared out when the user pages through the data. Is it up to the developer to manually track the selected rows in an array? I'm fine doing this, but I'm not sure what the best way is. I'm not sure I want to be splicing an array whenever any number of records are selected as that seems like it could really slow things down.
My end goal is to have a jQueryUI dialog that, when closed, while store all the selected rows so I can post it to the server.
Insight, questions, comments; all are appreciated!
Note: added aspnetmvc tag only because this is for an MVC app
© Stack Overflow or respective owner