coooolmagic
22 Jul 2010, 5:14 AM
HI all
I am trying to build a grid and defined data store for grid.
There are several cases where this data store will be empty.
How can i specify some default message if there is no data in data store? so i don't get any java script error
my store:
data: arydata is dynamic JSP array.
var store = new Ext.data.Store({
reader: reader,
autoLoad: true,
data: arydata,
sortInfo:{field: 'document_name', direction: "ASC"}
});
I am trying to build a grid and defined data store for grid.
There are several cases where this data store will be empty.
How can i specify some default message if there is no data in data store? so i don't get any java script error
my store:
data: arydata is dynamic JSP array.
var store = new Ext.data.Store({
reader: reader,
autoLoad: true,
data: arydata,
sortInfo:{field: 'document_name', direction: "ASC"}
});