I'm trying to display a friendly message (like "No records found, try again later") within the grid content, when there are no records in the database.
From what I've seen in the docs, there is currently no way of doing this for the grid content. It's only doable for the footer. You can see the example in this fiddle: http://jsfiddle.net/lav911/uNWXJ/
I've purposely misspelled the data route, in order to have an empty grid. To see it with content, simply comment / uncomment these lines:
transport: {
// read: "http://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers"
read: "http://demos.telerik.com/kendo-ui/service/Northwind.svc/Customerss"
},
Is there a clean way of achieving this ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…