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.
F
// Kendo Grid
dataSource: dataSource,
dataBound:gridDataBound,
//No data in the grid show message
function gridDataBound(e) {
var grid = e.sender;
if (grid.dataSource.total() == 0) {
var colCount = grid.columns.length;
$(e.sender.wrapper)
.find('tbody')
.append('There is no data to show in the grid. ');
}
};