java - GWT- SingleSelectionModel celltable- how to change selected cell's CSS? -
i have cell table here:
http://gwt.googleusercontent.com/samples/showcase/showcase.html#!cwcelltable
but without ui binder (not sure thats about, project not use it)
anyways, need way edit cell row selection css , cant find way. right when select row outlines row, need way change cells background color , edit default behavior.
i know can set css table using celltable.setstylename("mycssfile") how set individual cell row? have no individual cell reference currently, , reference try put in front of celltable not compile.
when construct celltable, grabs default clientbundle
implementation (see gwt clientbundle details), adds celltablekeyboardselectedrow
css class name selected row. clientbundle obfuscates class names, shows strange alphanumeric name if @ source. css class name defined in celltable.css
, located in gwt-user.jar/com/google/gwt/user/cellview/client/celltable.css
.
if don't way looks, can implement own clientbundle
(or extend celltable.resources
) , use constructor make celltable: public celltable(int pagesize, resources resources)
.
Comments
Post a Comment