How to display a message or show an image in the igGrid when there is no data source or the data source contains no rows?
Hi Martin Pavlov,
I have the same problem of showing message for empty data source. Your post is very much useful. Thanks a lot.
Hello Luis,
I haven't heard from you. Did you find my sample usable? Were you able to solve your issue?
Thanks in advance,Martin PavlovInfragistics, Inc.
I'm attaching a sample to demonstrate how you can achieve this functionality. Basically I bind to the igGrid.rowsRendered event and check whether the data source has no data. In this case I append a DIV element to the grid which will show on top of the grid with a custom message. To do this I use a small constructor function which exports the show/hide methods so that the message can be hidden as well.
Hope this helps,Martin PavlovInfragistics, Inc.