PDA

View Full Version : How to convert GroupingView from Grouping in extjs 4



Roomy
2 Jun 2013, 11:15 PM
According to sencha in extjs 4 the remove GroupingView.

GroupingView has been removed and replaced with Grouping feauture.
But I want to change my old code accordingly and missing Listeners:

<ext:GroupingView ID="gridView" HideGroupedColumn="true" ForceFit="true" > <Listeners> <Refresh Handler="CheckHeader(#{checkSelectionModel});" /> </Listeners> <GetRowClass Fn="getRowClass" /></ext:GroupingView>

slemmon
4 Jun 2013, 3:56 PM
Will the grid's view's refresh event accomplish what you're needing in 4.x?
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.view.Table-event-refresh

Roomy
2 Jul 2013, 9:54 PM
thanks its good.