Question
1
Replies
1322
Views
Posted: November 12, 2015
Last activity: November 26, 2015
I have a requirement to programmatically color coded grid cell text base on the property value from the source.
I have a requirement to programmatically color coded grid cell text base on the property value. The grid cell inline style configuration is not flexible enough to cover all possible variations. Can I set the property value like
String GreenText = "<FONT COLOR=\'lightgreen\'>"+GreenText+"</FONT>";
So the html page will render the text in Grid cell with this inline style?
Hi
I dont think this approach will help you doing that. Instead you can check how we handle the color of the assignments in the worklist pre and post deadline.
In a 7.1.9 system, refer the section rule : pyDashboardMyWorklist which has the column named Due.
In that column of the grid, we are referring one section named : pxDeadlineTime which has a dynamic layout having multiple entry of same property with distinct visible when condition and presentation style.
The style classes are defined in the css : workform_pxdashboardcssgenerator
Hope this helps.