new StringFieldDef( "isPackage" ), //NON-NLS
new StringFieldDef( "isCategory" ), //NON-NLS
} );
ArrayReader reader = new ArrayReader( recordDef );
GroupingStore store = new GroupingStore();
store.setReader( reader );
store.setDataProxy( proxy );
store.setGroupField( "isAdmin" ); //NON-NLS
store.setSortInfo( new SortState( "userName", SortDir.ASC ) ); //NON-NLS
store.load();
ColumnModel cm = new ColumnModel( new ColumnConfig[]{new ColumnConfig() {
{
setDataIndex( "userName" ); //NON-NLS
setSortable( true );