I’m using the loadonce option with jqGrid to pull data from a database. The number of records is not too large (couple hundred) but too big to see on the entire screen. As is I have to use pagination. How do I iterate through all records that are on the client? I know I can use getDataIDs but that only gives me all of the records that are on the screen at one time. I’ve looked but I’ve yet to find a way to see all data other than on the server side.
I’m using the loadonce option with jqGrid to pull data from a database. The
Share
You can get all the local data by the code like
To get all ids of the rows and the corresponding indexes in the
gridDataarray you can useThe ids of the grid will be the properties of
idsToDataIndexes(enumerable byfor (var id in idsToDataIndexes)) and the values of the property are the indexes in thegridDataarray.