Re: Deselect items in a CellTree with MultiSelectionModel

2010-09-02 Thread jaga
I got this to multiple selection to work properly by adding a ButtonCell adjacent to the CheckboxCell. The code is in Bike Shed. The ButtonCell is also bound to the Selection Model. This takes care of what seem to be two bugs: 1) the CheckboxCell is not firing a setFieldUpdater event 2) the

Re: Deselect items in a CellTree with MultiSelectionModel

2010-08-26 Thread jaga
I suppose this is relevant for a CellTable too? The code which does the selection is in model object. The object'implements Comparable and the equals, compareTo and hashCode. Is it possible to pass in a flag which says whether the row is selected, then return false for the equals? On Aug 20,

Re: Deselect items in a CellTree with MultiSelectionModel

2010-08-20 Thread rhmoller
I have been digging through the source code for GWT 2.1.0.M2. All click events result in adding to the selection. There is no support for deselecting items in any of the cell widgets. I have filed this issue for it: http://code.google.com/p/google-web-toolkit/issues/detail?id=5223 On Aug 19,

Deselect items in a CellTree with MultiSelectionModel

2010-08-19 Thread rhmoller
Hi I am trying to build a component for selecting multiple items from a tree structure using the cellview widgets from GWT 2.1.0.M2. I have a custom TreeViewModel with a single MultiSelectionModel object which is shared between all NodeInfo objects. I would like it to either toggle the selection