I have a grid where I am using conditional formatting to highlight data under certain conditions; everything is working fine except I'm not able to set the font colour/style for an individual textField.
I can use backgroundColorColumn on a textField but I can only use fontColorColumn at grid level and so the colour is applied to all columns in the row.
How can I set the font colour and/or style for an individual item to be based on a column value?
asked 11 May '13, 12:42
As you mentioned the fontColorColumn attribute does not exist yet for the components existing into a grid.
However, you can simulate your request by setting the fontColor cell by cell after the executeQuery API call(if your datasource is being queried automatically, you should uncheck the "Query On Initialize" checkbox for your datasource and execute it on the postInitialize event of the panel containing the grid). In the code block called where executeQuery is called, just after the executeQeury API call, you can loop through grid rows using either
Hope this helps,
answered 11 May '13, 13:20
Ibrahim Sand... ♦♦