Hi
Managed to highlight the actual hour if this is more than planned hour for a task highlight in red. But missing to highlight in Bold also. Sharing the code for correction and your reference;
------------------------------------------------------------------------------
textmode=false
valuefield=actualWorkRequired
valueformat=compound
viewalias=actualworkrequired
linkedname=direct
namekey=actualWorkRequired
querysort=actualWork
styledef.case.0.comparison.icon=false
styledef.case.0.comparison.leftmethod=minutesAsHoursString(actualWorkRequired)
styledef.case.0.comparison.lefttext=actualWork
styledef.case.0.comparison.operator=gt
styledef.case.0.comparison.operatortype=double
styledef.case.0.comparison.rightmethod=minutesAsHoursString(workRequired)
styledef.case.0.comparison.righttext=workRequired
styledef.case.0.comparison.trueproperty.0.name=bgcolor
styledef.case.0.comparison.trueproperty.0.value=eac6c9
styledef.case.0.comparison.truetext=
--------------------------------------------------------------------------
Best regards,
Kundan
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Yes, for red e.g. the following:
row.0.styledef.case.0.comparison.trueproperty.2.name=textcolor
row.0.styledef.case.0.comparison.trueproperty.2.value=d30519
Could you just add this?
styledef.case.0.comparison.trueproperty.1.name=fontstyle
styledef.case.0.comparison.trueproperty.1.value=bold
Excellent and Thanks @Manuel Bause‚ . It works exactly.
Is it possible to change the text colour also to highlight better?
Have a nice weekend!
Mvh
Kundan.
Views
Replies
Total Likes
Yes, for red e.g. the following:
row.0.styledef.case.0.comparison.trueproperty.2.name=textcolor
row.0.styledef.case.0.comparison.trueproperty.2.value=d30519
Views
Likes
Replies
Views
Likes
Replies