How to count the number of rows in a jqGrid?

前端 未结 6 979
名媛妹妹
名媛妹妹 2020-12-28 15:06

How do I count the number of rows in a jqGrid?

To clarify, there is not much data involved so the grid is pulling all of its data back from the server in a single qu

6条回答
  •  情深已故
    2020-12-28 15:44

    $("#grid").getGridParam("reccount");
    

    Readonly property. Returns integer. Determines the exact number of rows in the grid. (And not the number of records fetched).

    More information here.

提交回复
热议问题