Working with PHP grid loading data from an array with 1200 records.
I have defined the property
$ grid ["rowNum"] = 5000;
Once loaded I use
var ids = jQuery ('# datosagendaprov') jqGrid ('getDataIDs.');
pra identify all rows, but it occurs to me only identifies one hand and need to identify them all.
How do I do it?
Apart from the above
How do I can know the height or width of a row?
You can iterate thru the ids variable like below.
var ids = jQuery('#list1').jqGrid('getDataIDs');
for (i = 0; i < ids.length; i++) {
// do row operation like selection
jQuery('#list1').jqGrid('setSelection', ids[i], true);
}
For height / width, you may need to play with jquery, Not supported with api.
Inspect using firebug to know the ID of the row and then use jquery method for dimensions.