View Full Version : How to set grideditorpanel view dynamically

17 Aug 2009, 11:02 AM
hi guys,

Im new to extjs. I looked around and couldn't find any solutions. How do i set a grid's view to a default groupingview dynamically.

ive tried

gridpanel1.view = new Ext.grid.GroupingView();

but it would not work. Would appreciate some help! thanks!

17 Aug 2009, 3:28 PM
erm anyone??

17 Aug 2009, 5:16 PM
you can't.

You cannot just set a property and expect the view to change. You would need to essentially destroy the view and reconfigure it. I imagine an extension or plugin to the gridpanel will be required.

17 Aug 2009, 5:39 PM
hey, thanks!

Any idea how i can start, or any references around?