PDA

View Full Version : treegrid reconfigure and treeStore



fother
10 Aug 2009, 12:19 PM
final TreeStore<ModelData> store = new TreeStore<ModelData>();

final ColumnModel cm = new ColumnModel(Arrays.asList(new ColumnConfig("name", "Name", 100)));

TreeGrid<ModelData> tree = new TreeGrid<ModelData>(store, cm);


this work fine but if need call the method reconfigure... return a java error



tree.reconfigure(store, cm);


error: The method reconfigure(ListStore<ModelData>, ColumnModel) in the type Grid<ModelData> is not applicable for the arguments (TreeStore<ModelData>, ColumnModel)