This question is locked. New answers and comments are not allowed.
Hi,
I have a RadGridView that is bound to a collection of my business objects.
Based on separate data received from the server I sometime need to update things like the foreground color of a cell value for a particular row.
I can do this a brute force way by accessing the row item and then modifying a specific cell BUT I don't want to make any assumptions about which cell is which. I would prefer to be able to access the cell by using the row and the column id or something like that in order to get the correct cell.
So, for example, if the grid was the following:
First Name | Last Name |
---------------------------------
John | Henry
---------------------------------
Dustin | Pedroia
and I received some info from the server that required me to change the Last Name to be in red for just Dustin Pedroia.
How can I do something like rowItem.getColumn(LastName).cellvalue.foreground = "#FFFFFF"?
Does this make sense???
Thanks!
I have a RadGridView that is bound to a collection of my business objects.
Based on separate data received from the server I sometime need to update things like the foreground color of a cell value for a particular row.
I can do this a brute force way by accessing the row item and then modifying a specific cell BUT I don't want to make any assumptions about which cell is which. I would prefer to be able to access the cell by using the row and the column id or something like that in order to get the correct cell.
So, for example, if the grid was the following:
First Name | Last Name |
---------------------------------
John | Henry
---------------------------------
Dustin | Pedroia
and I received some info from the server that required me to change the Last Name to be in red for just Dustin Pedroia.
How can I do something like rowItem.getColumn(LastName).cellvalue.foreground = "#FFFFFF"?
Does this make sense???
Thanks!