Expand my Community achievements bar.

Latest Community Ideas Review is Out: Discover What’s New and What to Expect!
SOLVED

How to Bold the Actual Hour in Task Report? Have some of text code with us.

Avatar

Level 10

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 4

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

View solution in original post

3 Replies

Avatar

Level 4

Could you just add this?

styledef.case.0.comparison.trueproperty.1.name=fontstyle

styledef.case.0.comparison.trueproperty.1.value=bold

Avatar

Level 10

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.

Avatar

Correct answer by
Level 4

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