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

highlight several columns in one row

1 Answer 52 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 04 Aug 2016, 07:22 AM

Hi,

i use a RadGridView, bound to an ObservableCollection<KennzahlenViewModel>. To show diviasions of different columns i use some GridViewExpressionColumns in one row. Now i want to set the forecolor red if the result is less than zero.

How can i do this?

Thanks
Best Regards

1 Answer, 1 is accepted

Sort by
0
Accepted
Dilyan Traykov
Telerik team
answered on 05 Aug 2016, 10:08 AM
Hello,

In order to achieve the desired behavior, you can make use of RadGridView's CellStyleSelector property.

Please let me know if it works for you.

Regards,
Dilyan Traykov
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
ITA
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or