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

How to display "No items to display" in the middle of List view body

3 Answers 374 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Parthasarathi
Top achievements
Rank 1
Parthasarathi asked on 10 Dec 2012, 10:21 AM
Hi All,

How to display "No items to display" in the middle of List view body?
Please do the needful as soon as possible.

Regards,
Partha.

3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 12 Dec 2012, 09:55 AM
Hello Partha,

From the provided picture I assume that your question is related to Kendo UI Grid. I am afraid at this stage "No records to display" message is only available in the pager and showing it in the middle of the blank grid is not supported. Actually there is a public item for "Showing no data text inside Grid when there's no data" at our UserVoice portal, so if you wish you may cast a vote or leave a comment for it. The more votes the suggestion collects, the higher priority will have. Please excuse us for the inconvenience caused.

Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Parthasarathi
Top achievements
Rank 1
answered on 13 Dec 2012, 03:55 AM
Hello Iliana,

Thanks for immediate response. That's ok. At least, Is it possible to change black color of "No records to display"  to red color. If it is possible, How can I do that? Immediate response would be appreciated.

Regards,
Partha.
0
Accepted
Iliana Dyankova
Telerik team
answered on 14 Dec 2012, 02:14 PM
Hello Partha,

You could achieve this using custom CSS and the element's specific class. For example:

.k-grid .k-pager-info.k-label{
   color: red;
}

Regards,
Iliana Nikolova
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
Asked by
Parthasarathi
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Parthasarathi
Top achievements
Rank 1
Share this question
or