How can I change the backcolor row GridEx(GridJanus) with a condition in c#
thanks
I can't link to it directly, but I found this in a post by Ravi Kota on the Janus Systems forums. I'm not able to test this at present and it is an older post... Conceptually it looks right though.
GridEXFormatCondition fc;
fc = new GridEXFormatCondition(GridName.RootTable.Columns[ColumnName], ConditionOperator.GreaterThan, 0);
fc.FormatStyle.ForeColor = Color.Blue;
GridName.RootTable.FormatConditions.Add(fc);