$("#ip_reportGrid").kendoGrid({
dataSource: {
data: myDataSource,
pageSize: 15
},
height: '532',
scrollable: true,
sortable: true,
filterable: false,
pageable: {
input: true,
numeric: false,
},
columns: [
{ field: "Action", title: "Action", encoded: false, width: 205 },
{ field: "ItemDescription", title: "Item" },
{ field: "BatchDesignator", title: "Batch #" },
{ field: "SerialNumber", title: "Run #" },
{ field: "LocationName", title: "Location" },
{ field: "Quantity", title: "Quantity" },
{ field: "UnitOfMeasure", title: "UoM" }
],
});
The piece that I had been missing was the pageSize element in the dataSource section, which indicated how many rows to pull from the datasource for every page.
No comments:
Post a Comment