GRID:----
Code:
var grid = new xg.GridPanel({
                    store: store,
                    cm: new xg.ColumnModel({
                        defaults: {
                            width: 130,
                            sortable: true
                        },
                        columns: columnss
                    }),
                    tbar: new Ext.Toolbar({
                                                                    id: 'myToolBar',
                                                                    items:[
                                                                            exportDataButton,
                                                                            new Ext.Toolbar.Separator(),
                                                                            chartButtonHandler,
                                                                            new Ext.Toolbar.Separator(),
                                                                            selectViewButton
                                                                          ]
                                                                 }),
                    view: new Ext.grid.GroupingView({
                        forceFit:false,
                        groupTextTpl: '{text} ({[values.rs.length]} {[values.rs.length > 1 ? "Records" : "Record"]})'
                    }),
                    plugins: summary,
                    //columnLines: true,
                    frame:true,
                    width: 1250,
                    height: 480,
                    collapsible: true,
                    animCollapse: false,
                    title: gridTitle,
                    iconCls: 'icon-grid',
                    renderTo: document.body,
                    sm: selModel
                });
STORE:----
Code:
var store = new Ext.data.GroupingStore({
                        reader: reader,
                        autoLoad: true,
                        data: xg.dummyData,
                        sortInfo:{field: 'warehouseCode', direction: "ASC"},
                        groupField:'departmentCode'
                    });
Code:
Ext.grid.dummayData=<%=data%>
NOW i m trying to do this:
Code:
store.on('load', function(str, record,option){
                    alert('load called');
                        });
but i m not getting the alert message i.e. 'load called'
can any ont tell me what is going wrong with me....