message to display if zero rows in grid(dhtmlxgrid pro)

Hi,

How to display custom message when there are zero rows in the grid?
This link: viewtopic.php?f=2&t=15793 has provided me an idea.
But,am not using any xml’s to load.

one more question: does dhtmlxgrid support any kind of “onload” event to attach them to grid.

Please help.

You may use the validation of the dhtmlxGrid:
docs.dhtmlx.com/doku.php?id=dhtm … validation

or iterate through all rows of the grid checking the values of the cells:
docs.dhtmlx.com/doku.php?id=dhtm … ating_rows

You may try to use the onXLE event to check if data is loaded to the grid:
docs.dhtmlx.com/doku.php?id=dhtm … vent_onxle