How to style a single Grid using RWT.CUSTOM_VARIANT? [message #1814205] |
Thu, 05 September 2019 15:16 |
Linuxhippy Mising name Messages: 72 Registered: July 2009 |
Member |
|
|
Hi,
I would like to style a single Grid in our application using different colors (all others should remain unchanged).
I tried already to set RWT.CUSTOM_VARIANT on the Grid itself and add the modes in a custom theme contribution.
However I struggle with GridItems (which would allow me to set different even/odd row colors), as they are generated dynamically by the GridTableViewer / triggered by databinding.
And as far as I can see, GridTableViewer directly calls the GridItem constructor without any possibility to intercept.
Any ideas how I can apply custom per-grid CSS styles to the GridItems of a GridTableViewer anyway?
Thank you in advance and best regards, Clemens
[Updated on: Thu, 05 September 2019 15:17] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02119 seconds