panthro
17 Mar 2009, 8:59 AM
Checked out revision 1336 yesterday and started testing it on one of our products.
Checkbox columns are no longer working. I don't know if this is a general problem with grids.
Clicking down the column on a grid, the previous rows are becoming unhighlighted/unchecked. Also not able to hold ctrl and select multiple rows.
code is as follows:
checkbox making:
List<ColumnConfig> configs = new ArrayList<ColumnConfig>();
this.checkBoxColumn = new CheckBoxSelectionModel<BeanModel>();
this.checkBoxColumn.setSelectionMode(SelectionMode.MULTI); //added to see if it would work
configs.add(this.checkBoxColumn.getColumn());
grid:
final ColumnModel cm = new ColumnModel(configs);
this.grid = new EditorGrid<BeanModel>(this.listStore, cm);
this.grid.setBorders(false);
this.grid.setSelectionModel(this.checkBoxColumn);
this.grid.addPlugin(this.checkBoxColumn);
this.grid.setHeight(800);
Checkbox columns are no longer working. I don't know if this is a general problem with grids.
Clicking down the column on a grid, the previous rows are becoming unhighlighted/unchecked. Also not able to hold ctrl and select multiple rows.
code is as follows:
checkbox making:
List<ColumnConfig> configs = new ArrayList<ColumnConfig>();
this.checkBoxColumn = new CheckBoxSelectionModel<BeanModel>();
this.checkBoxColumn.setSelectionMode(SelectionMode.MULTI); //added to see if it would work
configs.add(this.checkBoxColumn.getColumn());
grid:
final ColumnModel cm = new ColumnModel(configs);
this.grid = new EditorGrid<BeanModel>(this.listStore, cm);
this.grid.setBorders(false);
this.grid.setSelectionModel(this.checkBoxColumn);
this.grid.addPlugin(this.checkBoxColumn);
this.grid.setHeight(800);