How to show all rows in the jqGrid?

后端 未结 14 1657
心在旅途
心在旅途 2020-12-02 22:26

jqGrid exposes a property rowNum where you can set the number of rows to display for each page. How do you set the grid to just display ALL rows?

Right

14条回答
  •  醉酒成梦
    2020-12-02 22:48

    loadComplete: function (data) {
                    //set our "ALL" select option to the actual number of found records
                    $(".ui-pg-selbox option[value='ALL']").val(data.records);
    }
    

    This changes the "ALL" option to the actual number of records in the dataset.

提交回复
热议问题