Paging doesn't work in the Grid

2 posts, 0 answers
  1. canon
    canon avatar
    3 posts
    Member since:
    Oct 2013

    Posted 06 Oct 2013 Link to this post

    In the Kendo Grid below, I set the page size attribute to five - PageSize(5)

    However, after inserting the 6th & 7th records, clicking  the 'Next' arrow doesn't take me to the second page.
    In fact, none of the Paging buttons work - i don't have the ability to page through my data. Can you help?

    I'm not reading data from a database - I just want to insert records into the grid that gets saved into a
    temporary Dictionary<string, bool> variable and see if the paging works.

    .Columns(columns =>
    columns.Bound(p => p.ProductName);
    columns.Bound(p => p.Discontinued);
    columns.Command(command => { command.Edit(); command.Destroy(); }).Width(172);
    .ToolBar(toolbar => toolbar.Create())
    .Editable(editable => editable.Mode(GridEditMode.InLine))
    .DataSource(dataSource => dataSource
    .Events(events => events.Error("error_handler"))
    .Model(model => model.Id(p => p.ProductID))
    .Create(update => update.Action("EditingInline_Create", "Grid"))
    .Update(update => update.Action("EditingInline_Update", "Grid"))
    .Destroy(update => update.Action("EditingInline_Destroy", "Grid"))
  2. Vladimir Iliev
    Vladimir Iliev avatar
    2192 posts

    Posted 08 Oct 2013 Link to this post


    Most probably the server is not returning correctly formatted data or some of the required scripts are not included in the project:

    1) You can check this article for more information about how to setup your project correctly on the server side. 
    2) Please check this article for list of all required scripts.

    If the information from the above articles didn't help - please provided runable project where the issue sus reproduced. 

    Vladimir Iliev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top