How to set initial page of Kendo Grid

1 posts, 0 answers
  1. Trey
    Trey avatar
    36 posts
    Member since:
    Dec 2006

    Posted 24 Apr 2018 Link to this post

    I know this has been asked multiple times, but i still cannot set the initial page of Kendo Grid


    .Columns(columns =>
     ---BOUND COLUMNS---
    .Pageable(pageable => pageable.Refresh(true).PageSizes(true).ButtonCount(5))
    .DataSource(dataSource => dataSource
        .Model(model => model.Id(p => p.TherapistId))
    .Read(read => read.Action("GetTherapistdata", "Therapist").Data("PatientDetails")) ) )


    Since AutoBind if false, I am calling ReadDataSource when the document is ready

    $(document).ready(function () {
    function ReadDataSource()


    I am hard-coding the page number for now until I get can it to work.  There are three pages in the grid.

Back to Top