Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Agile on Nov 07, 2008 02:05
open dhtmlx forum
Grid empty message

Hi Team,

If grid is empty I want to show the message that grid is emtpy at center...How to do that?

Thanks
Answer posted by Support on Nov 10, 2008 09:28
It is not safe to modify inner content of HTML, you can use some kind of absolutly positioned box in nearby area. 

grid.attachEvent("onXLE",function(){
     if (!grid.getRowsNum()){ 
         //your code here
     }
});