Missing grid message when sized down

2 posts, 1 answers
  1. Eric
    Eric avatar
    24 posts
    Member since:
    Dec 2010

    Posted 20 May 2020 Link to this post

    I was using Kendo MVC v2013.2.918 for a while, and for a particular grid that happens to be kind of narrow, when there were no elements in the grid it displayed like this, where it states “No items to display”.


    I upgraded to Kendo MVC v2020.2.513 and now it looks like this, where the “No items to display” message is missing.


    Just to show that the message is still there, but not displayed, I forced the grid to be wider temporarily.


    I really want that “No items to display” message to show, even when the grid is narrow.  I have tried disabling all other paging features, but it still doesn’t show.  Is this something in the styles that could be changed to give this message display?
  2. Answer
    Petar avatar
    505 posts

    Posted 22 May 2020 Link to this post

    Hi Eric,

    The reason why the "No items to display" message disappears is that by default the Grid's "pageable.responsive" property is set to "true".  This configuration changes the way the pager of the Grid appears when the size of the component is small.

    If you add the below configuration to your Grid's definition, the "No items to display" message should not disappear when resizing the component.

    .Pageable(pageable => pageable

    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top