This is a migrated thread and some comments may be shown as answers.

Conditional formatting of null string value

1 Answer 2267 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Felice
Top achievements
Rank 1
Felice asked on 19 Jun 2014, 05:51 AM
I have a report where I would like to format in red all values that are null in the column "Unit" and fill in the field "!!!"
I have tried the following but I am not succeeding:

The value "Unit" is a string

Expression:IIF(IsNull(Fields.Unit,True),True,False) 
Operator: =
Value: =Null

How can I achieve the needed result?

Thanks,
Felice

1 Answer, 1 is accepted

Sort by
2
Stef
Telerik team
answered on 23 Jun 2014, 01:58 PM
Hi Felice,

You can use an expression as follows for the conditional formatting rule filter:
Expression: =Fields.test is  Null OR Fields.test like ''
Operator: =
Value: =True

For more details check the Operators article.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Michael
Top achievements
Rank 1
Iron
Iron
commented on 08 Feb 2024, 06:28 PM

This helped me! Thank you!
Tags
General Discussions
Asked by
Felice
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or