PDA

View Full Version : Centering the load message...



msuresh
16 Dec 2010, 5:14 AM
Hi,
I have a tabpanel with 4 grids. When there is no data I am using mask to display there are no records. If the tab is active the message appears at the center of the grid else it comes at a corner of the grid. How to correct this behavior?

23855

The code looks as follows:



this.store.on('load', function(store, records, options) {
if (this.store.getTotalCount() == 0) {
var el = this.getGridEl();
el.mask("Search Yield 0 results...", 'x-mask');
}
}, this);


Regards,
Suresh