Wednesday, February 9, 2011

Re: CellTable & SelectionModel

Use the 2 parameter alternative: setSelected(T object, boolean
selected).

If the second parameter is false, the selection model will not fire a
SelectionChangeEvent.

On Feb 9, 2:43 pm, "Alejandro D. Garin" <aga...@gmail.com> wrote:
> Hi,
>
> I'm using a CellTable like a vertical menu Widget. i.e. the table is a list
> of menu items (for navigation) that will
> fire Places when the user click on any of the availables menues.
>
> Everything is OK except in the case that the application need to be started
> at an specific menu item. I want to
> select the menu but I don't want the SingleSelectionModel fires the
> SelectionChangeEvent event because it was
> already called, I just want the selection ON.
>
> The SingleSelectionModel#setSelected has no option to stop firing the
> changEvent.
> Am I missing something here? I think is good to have the chance to do not
> fire the event!
>
> Thanks.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate