This is a migrated thread and some comments may be shown as answers.

How to Handle "No Records" display in ListView?

3 Answers 249 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 29 Jun 2012, 02:19 AM
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?

3 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Krustev
Telerik team
answered on 03 Jul 2012, 07:39 AM
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!
0
Dan
Top achievements
Rank 1
answered on 03 Jul 2012, 02:55 PM
Thank you Georgi - can you tell me if a No Records display is on the current development road map for the Mobile Listview?
0
Georgi Krustev
Telerik team
answered on 03 Jul 2012, 03:15 PM
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!
Tags
ListView (Mobile)
Asked by
Dan
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Dan
Top achievements
Rank 1
Share this question
or