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, 2:09 pm, rhmoller <[email protected]> wrote:
> 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, 1:35 pm, rhmoller <[email protected]> wrote:
>
>
>
>
>
>
>
> > 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 of items when clicking on them, or support
> > CTRL-clicking for deselecting items like in a list box.
>
> > My problem is that I cannotdeselectany of the selected items. What
> > do I need to do?
>
> > Best regards
> > Rene

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to