wijmo.grid.wijgrid Namespace > options type : totalRows Option |
Default value: 0
Gets or sets the virtual number of items in the wijgrid and enables custom paging. Setting option to a positive value activates custom paging, the number of displayed rows and the total number of pages will be determined by the totalRows and pageSize values.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: number returnsValue = $(".selector").wijgrid("option", "totalRows"); // Set value var newValue; // Type: number $(".selector").wijgrid("option", "totalRows", newValue); }); |
Javascript (Specification) | |
---|---|
|
$("#element").wijgrid({ totalRows: -1 });