06-12-2014 07:03 AM
Is thre a way to change either the entire row in a datagrid or just the field to a color based on the value of that field?
If the Status of the row is marked At Risk we'd like the row to be yellow.
Behind would make the row red.
Any help is appreciated.
06-13-2014 10:13 AM
What data grid? Here is a Github gist for the groups list that formats a column based on it's value: https://gist.github.com/jbest84/998294d67a430f8d2f91
You would have to go into the SmartParts\GroupBuilder\LiveGroupViewer.ascx and change the require from 'Sage/UI/GroupListConfigurationProvider' to the module you create. You can also look under jscript\Sage\UI\Columns for examples on how we created our own column types for the dojox grid.