on-internet
← Community

Paging kendo grid client side

Stack Overflow ·

I want to use a MVC helper to build a grid on the server side but after I want to add and remove rows on the client side. So I use the following wrapper: @(Html.Kendo().Grid<SIGEPos.Models.MyGridViewModel>() .Name("Grid") .Columns(columns => { columns.Bound(p => p.id).Hidden(); columns.Bound(p => p.name).Title("Name").Width(130); columns.Bound(p => p.quantity).Title("Quantity").Width(130); }) .Pageable() .Scrollable(scr=>scr.Height(430)) .DataSource(dataSource => dataSource .Ajax() .PageSize(20) .ServerOperation(false) ) ) And the following markup is generated (only script part shown): <script

Comments

Sign in or sign up to comment and upvote.

No comments yet.