Reputation: 941
How can I hide the toolbar (pager) for the KendoUI grid?
Any help would be appreciated.
Thank you.
Upvotes: 0
Views: 1864
Reputation: 40887
If you want to display pageSize
number of records but do not have pagination then simply define pageSize
in the dataSource but pageable
as false in the grid definition:
$("#grid").kendoGrid({
...
pageable: false
});
Upvotes: 0
Reputation: 1167
$("#grid").kendoGrid({
dataBound: function() {
$("#grid .k-grid-pager").css('display','none');
}
});
Upvotes: 1