Question

I am working on jqGrid.I had a problem in the navigator rowList. my data to this field is like this rowList:['25','50','75','-1']. I am using -1 to display all the records.In the row list,i wish to use "All" instead of "-1" to display all the records is their any possibility to do this.

Thanks in advance.

Regards,
Phani Kumar

Was it helpful?

Solution

There are no All value as rowNum and in the rowList array. You should also not use -1 (see documentation about rowNum for example) or other negative values. The value -1 was allowed in some cases in the old releases of jqGrid, but it is no more supported in last releases. The value like 1000, 10000 are good enough depend on your requirements.

Having some realistic restrictions in the number of displayed rows is a good idea independent on the jqGrid support. No real user are able to examine 1000 rows of information without data paging, filtering (searching) or at least scrolling of the data in the web browser. So the displaying of about 50 or 100 row as maximum is what I would recommend you. Look at another old answer for more details and see included examples.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top