Hi, I hope I'm wrong, but I cannot figure out any way to retrieve all the rows of a grid. No matter what I do, only the currently visible rows are available to me, which is practically useless.
I am using jqGrid 4.3.3 and I have 'scroll' and 'gridview' set to true in my jqGrid() setup call.
These are the ways I've tried accessing a column's value for all rows:
var column = $('#myGrid').jqGrid('getCol', 'mycolumn');
var data = $('#myGrid').jqGrid('getRowData');
var ids = $('#myGrid').jqGrid('getDataIDs');
In both instances, I only get data for the currently visible rows. Surely there must be a way to get all rows and I'm just missing it somehow.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top