json - JqGrid triand addJSONData add max 20 rows -
I'm changing to get better performance in grid with more than 20 rows in addjsondata, which add problem Addjsondata has been given that if I pass a rouadata out of more than 20 rows then it only adds the first 20 rows
In use version 4.4.5 < P>
I should give you the So you should use the Finally, I recommend creating a grid to use toppager: correct or
pager to display pager The parameter JqGrid creates always paging The default value of
rowNum parameter is 20 (see "Default" column in the table). So jqGrid displays the first page (20 rows), the user does not even see a pager, allowing it to change the page.
rowNum parameter with something big enough value (like
rowNum: 10000 ) or
to display a pager Use the toppager or
pager parameter parameter (or both) that allows the user to change the page.
datatype: "local" with the
data parameter Use
addRowData or
addJSONData instead of . The way you will fill the data and display the first page of sorted data. Do not forget to include the
gridview: true in the list of those options that you use (see). If you need to replenish (replace) the local grid's data, you can use
clearGridData , the new value of
data
setGridParam < / Code> and finally call
.trigger ("reloadGrid") to reload the grid.
Comments
Post a Comment