On grid row loaded event, the background, foreground colours and many other visual properties of rows are updated according to some data conditions, for reporting flexibility the field names are also returned as part of data, so it is not possible to know what the field names are before hand. This part is working fine and the formatting is also done correctly.
However, when we want to make changes to the data that the grid is bound to, we would like the grid to also respond and change visual properties according to the same data conditions that we did during the Grid row loaded event.
We have had some success in CellTemplates but this only works at the cell level, we would really like to change some visual properties of the entire row.
Q1:
Is there a way to identify a GridViewRowItem from code if we know the Record that has been changed? (This is so we can format the row in code)
Q2:
Would there be any other solutions to achieve what I have outlined above?
However, when we want to make changes to the data that the grid is bound to, we would like the grid to also respond and change visual properties according to the same data conditions that we did during the Grid row loaded event.
We have had some success in CellTemplates but this only works at the cell level, we would really like to change some visual properties of the entire row.
Q1:
Is there a way to identify a GridViewRowItem from code if we know the Record that has been changed? (This is so we can format the row in code)
Q2:
Would there be any other solutions to achieve what I have outlined above?