Hi,
I have conditional formatting rules on a parent grid that are defined as expression types
New ExpressionFormattingObject ("COL1",Expression:="COL2 = 1", etc.)
The compare data is in a different column than the formatting. This works OK for the Grid.MasterTemplate.Columns.
I also have identical rules defined for Grid.MasterTemplate.Templates(0).Columns, however the styling does not get applied for these rows on the child grid. If I change the child rules to be ConditionalFormattingObject type as:
New ConditionalFormattingObject ("COL1", Equals, Value:="1", etc.)
the styles are applied correctly. I can't do this though as the data item is in a different column than the formatting. (test against COL1, style COL2)
Is there something I need to do to get the expression rules to format correctly?
Many thanks,
Mark.
I have conditional formatting rules on a parent grid that are defined as expression types
New ExpressionFormattingObject ("COL1",Expression:="COL2 = 1", etc.)
The compare data is in a different column than the formatting. This works OK for the Grid.MasterTemplate.Columns.
I also have identical rules defined for Grid.MasterTemplate.Templates(0).Columns, however the styling does not get applied for these rows on the child grid. If I change the child rules to be ConditionalFormattingObject type as:
New ConditionalFormattingObject ("COL1", Equals, Value:="1", etc.)
the styles are applied correctly. I can't do this though as the data item is in a different column than the formatting. (test against COL1, style COL2)
Is there something I need to do to get the expression rules to format correctly?
Many thanks,
Mark.