In my QueryCellStyle method, I want to query a cell and, if the value meets my criteria, change the appearance or value of a different cell in that row. How can I accomplish this?
Second, my records are instances of a class with many properties, only some of which I display in the grid. Is it possible for me query the value of a non-displayed property in a record and use this data to initiate certain cell modifications?
I am using C#.
Thank you!
|
Queries |
Solutions | |
|
In my QueryCellStyle method, I want to query a cell and, if the value meets my criteria, change the appearance or value of a different cell in that row. How can I accomplish this?
|
Your requirement can be achieved by customize the QueryCellStyle event in SfDataGrid. Please refer the below code snippet,
| |
|
my records are instances of a class with many properties, only some of which I display in the grid. Is it possible for me query the value of a non-displayed property in a record and use this data to initiate certain cell modifications?
|
Your requirement can be achieved by customize the QueryCellStyle event in SfDataGrid. Please refer the below code snippet,
|