>
> In gwt-user-2.4.0.jar CellTable.css, there is many css class like
> .cellTableSelectedRow{
> ......
> }
>
> but I can not understand how this is applied to CellTable even I see the
> CellTable class source code.
>
Its done in AbstractCellTable.renderRowValues(). This method asks the
SelectionModel of the CellTable if a row is selected or not and applies the
css class to the row if needed. When you click on a row in a CellTable the
SelectionModel is updated using a default CellPreviewHandler. This is done
in AbstractHasData (line 299 in GWT 2.4).
-- J.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/o7rTGNIEVMYJ.
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.