|NatTable TreeGridExample cell styling [message #931640]
||Wed, 03 October 2012 07:36
| James Brewster
Registered: October 2012
I've been working on Nattable's TreeGridExample trying to figure out how to implement some styles on different cells depending on the object value they contain, but I couldn't figure out how to do it. The only snippet available in the other examples that should do what I want to achieve is this:
CellOverrideLabelAccumulator<RowDataFixture> cellLabelAccumulator =
cellLabelAccumulator.registerOverride("AAA", 2, CELL_LABEL);
but it doesn't work. Adding a configuration to nattable doesn't seem to work, either. Even so I don't want my cells to be styled depending on the text value specified in the registerOverrride parameters, but taking it's style color from the object.
Could someone give me some pointers or some snippets?
Powered by FUDForum
. Page generated in 0.01494 seconds