AJuniorCoder
9 Sep 2008, 2:08 PM
I have been using extjs for about 1 day :D. I would like to use 2 plugins : Filters and RowExpander with my grid but I have not been able to find the syntax for declaring multiple plugins for one grid. Can someone help? Is it even possible?
var grid = new Ext.grid.GridPanel({
ds: ds,
cm: cm,
sm: new Ext.grid.RowSelectionModel({
singleSelect: true,
}),
height: 200,
title: '',
//plugins: filters,
plugins: expander,
bbar: pagingBar
});
ds.load({ params: { start: 0, limit: pagingSize} });
return grid;
}
Thanks.
var grid = new Ext.grid.GridPanel({
ds: ds,
cm: cm,
sm: new Ext.grid.RowSelectionModel({
singleSelect: true,
}),
height: 200,
title: '',
//plugins: filters,
plugins: expander,
bbar: pagingBar
});
ds.load({ params: { start: 0, limit: pagingSize} });
return grid;
}
Thanks.