Ability to display "no records" message in grid area?

3 posts, 0 answers
  1. Bob
    Bob avatar
    123 posts
    Member since:
    Sep 2012

    Posted 18 Dec 2014 Link to this post

    Hi, I'm converting over a grid from Telerik for AJAX to Kendo.  I was wondering if there is a way to display a message like "No records to display" in the grid's data area instead of hidden down at bottom in pager section.  See screenshot for desired functionality.
  2. Iliana Nikolova
    Iliana Nikolova avatar
    2572 posts

    Posted 22 Dec 2014 Link to this post

    Hi Bob,

    This scenario is not supported out-of-the-box by Kendo UI Grid, however it can be achieved using additional code. As a possible approach I would suggest to attach a handler to the Grid dataBound event, check the data length and prepend an additional HTML element which contains the message. For your convenience here is a basic example which demonstrates the suggested approach in action.

    Iliana Nikolova

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. UI for ASP.NET AJAX banner
  4. Musashi
    Musashi avatar
    20 posts
    Member since:
    Jan 2014

    Posted 14 Sep Link to this post

    Version I'm using (2016.2.607) has config option "norecords", and displays this in the grid's data area.


Back to Top