Hi,
You can use a "com.google.gwt.view.client.MultiSelectionModel" with your
CellTable
MultiSelectionModel<T> msm = new MultiSelectionModel<T>();
cellTable.setSelectionModel(msm);
for (T item : cellTable.getVisibleItems()) {
msm.setSelected(item, true);
}
Alexandre
2011/4/18 Subhrajyoti Moitra <[email protected]>
> Hello,
>
> Can some one please point me to a "Select All" functionality in a
> CellTable?
>
> The functionality i have to implement, is that some of the CellTable
> headers has a select box which when clicked will select all the rows of
> CellTable being displayed.
> Please give some hints as to how to implement this. Example would be
> awesome!!
>
> Thanks,
> Subhro.
>
> --
> 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.
>
--
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.