Use Filter.FilterCritera for coloring rows
-
28-10-2019 - |
Pergunta
I'm using DevExpress buid-in FilterEditor to create expressions for rows.
I don't want to apply this FilterCriteria to actually filter data in grid, I want to color rows in green that match that expression, those that don't color in red.
Can I do this?
Solução
Take a look at the GridView's StyleFormatCondition property:
Style conditions allow you to create rules for changing the appearance of cells according to their contents.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow