Hello,
I have a RadGridView. It has as its source an ObservableCollection of a custom class. There are three columns representing the data from this custom class. What I am trying to do is apply a very specific converter to convert a value to a string. I want to check the value in the first column and then apply the converter to the second and possibly the third column.
I tried using a DataTrigger. If I set the target type to telerik:GridViewCell or telerik:GridViewRow, I am able to catch the row I want. I think I should use the GridViewCell, but since all three columns refer to the same object, I am struggling to know which column the cell is in. For my initial testing I am simply trying to change the background color of the cell I want, but later I will want to apply the Converter to the cell.
If I apply the converter directly to the column, I only get the value in the column and therefore do not know the corresponding value in the first column of the same row.
I am probably missing something to enable the functionality I want and am hoping someone could point me in the right direction.
Thanks,
Chris
I have a RadGridView. It has as its source an ObservableCollection of a custom class. There are three columns representing the data from this custom class. What I am trying to do is apply a very specific converter to convert a value to a string. I want to check the value in the first column and then apply the converter to the second and possibly the third column.
I tried using a DataTrigger. If I set the target type to telerik:GridViewCell or telerik:GridViewRow, I am able to catch the row I want. I think I should use the GridViewCell, but since all three columns refer to the same object, I am struggling to know which column the cell is in. For my initial testing I am simply trying to change the background color of the cell I want, but later I will want to apply the Converter to the cell.
If I apply the converter directly to the column, I only get the value in the column and therefore do not know the corresponding value in the first column of the same row.
I am probably missing something to enable the functionality I want and am hoping someone could point me in the right direction.
Thanks,
Chris