Jqgrid Property rownum Default value: 20, all display set to-1

Source: Internet
Author: User
Tags jqgrid
The blogger, who wants to display all the data returned by the background in the page, simply commented out the rownum attribute. Only a maximum of 20 pieces of data are displayed. Later it was found that the default value of rownum: 20, all display needs to be set to -1.


rownum is the number of records per page when jqgrid paginates,


When the ajax request is sent to the background, the value of rows in request is the value of rownum in jqgrid.


If the setting rownum is set to 10, no matter how many records are returned in the background, only 10 are displayed at most.


If set to 0 then jqgrid will not display any data.


If set to -1, all records returned in the background are displayed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.