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?
Hello Luis,
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.
Hi Martin Pavlov,
I have the same problem of showing message for empty data source. Your post is very much useful. Thanks a lot.