Grid Paging Default Size

3 posts, 0 answers
  1. Chris
    Chris avatar
    12 posts
    Member since:
    Aug 2016

    Posted 10 Nov 2016 Link to this post

    The grid below defaults to 10 records per page.  Is there a way to change this value?

    Thanks!

        @(Html.Kendo().Grid(Model).Name("Orders").Columns(c =>
    {
        c.Bound(m => m.WORK_ORD_NO);
        c.Bound(m => m.WMS_STATUS);
        c.Bound(m => m.WO_STATUS);
        c.Bound(m => m.LINKED_ORDER);
        c.Bound(m => m.ASSIGNED_TO);
        c.Bound(m => m.SHIPPER_NO);
        c.Bound(m => m.QUANTITY);
        c.Bound(m => m.REQ_SHIP_DATE);
        c.Bound(m => m.EST_SHIP_DATE);
        c.Bound(m => m.ACT_SHIP_DATE);
    })
        .Sortable()
        .Filterable()
        .Pageable()
        .Groupable()
        )


  2. Chris
    Chris avatar
    12 posts
    Member since:
    Aug 2016

    Posted 10 Nov 2016 Link to this post

    Disregard, I found it.

     

       .DataSource(ds => ds
            .Server()
            .PageSize(50)
            )

  3. Chris
    Chris avatar
    12 posts
    Member since:
    Aug 2016

    Posted 10 Nov 2016 Link to this post

    Disregard.  I found it.

       .DataSource(ds => ds
            .Server()
            .PageSize(50)
            )

Back to Top