How to Handle "No Records" display in ListView?

4 posts, 1 answers
  1. Dan
    Dan avatar
    124 posts
    Member since:
    Feb 2011

    Posted 28 Jun 2012 Link to this post

    Currently when I bind to a ListView that has no data - I get what looks like an <hr />...  Is there a way to set a "No Records" template to use if there are no items to display in the dataset?
  2. Answer
    Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 03 Jul 2012 Link to this post

    Hello Dan,

     
    Currently, the ListView does not have the ability to show "No Records" template. Nevertheless you can easily show an information if the ListView is empty. Wire the change event of the DataSource and if the view is empty you can show simple div element with the required information.

    As a side note, I will suggest you contact our support team, which will handle the issue faster and will provide an end-to-end solution for it. We also do not guarantee asnwers in the forum threads.

    Regards,
    Georgi Krustev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Dan
    Dan avatar
    124 posts
    Member since:
    Feb 2011

    Posted 03 Jul 2012 Link to this post

    Thank you Georgi - can you tell me if a No Records display is on the current development road map for the Mobile Listview?
  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 03 Jul 2012 Link to this post

    Hello Dan,

     
    Currently, such functionality is not in the current roadmap. I will suggest you share your thoughts in our UserVoice. Thux other users can vote for it.

    All the best,
    Georgi Krustev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready