Dan
Dan

Reputation: 941

Hide Kendo UI grid toobar

How can I hide the toolbar (pager) for the KendoUI grid?

Any help would be appreciated.

Thank you.

Upvotes: 0

Views: 1864

Answers (2)

OnaBai
OnaBai

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

Hung Doan
Hung Doan

Reputation: 1167

$("#grid").kendoGrid({
     dataBound: function() {
    $("#grid .k-grid-pager").css('display','none');
     }
 });

Upvotes: 1

Related Questions