Here the Binding/inputValue is a percent. This is placed in "PropertyInspector / Style / InLineStyle"
if Greater than 100% make Font Red, 100% make Font Green, otherwise make yellow.
#{bindings.Total.inputValue > 100 ? 'color:Red ' : bindings.Total.inputValue == 100.0 ? 'color:Green' : 'color:Orange' }
And something a little more complicated grabbing the Iterator RowCount:
#{row.bindings.Qty1.inputValue <bindings.ADescriptionVO1Iterator.estimatedRowCount ?'background-color:Red;':'background-color:White;'}
No comments:
Post a Comment