I Want to change the foreground and background color of some specific cells dynamically, depending to another cell values or events.
For example, when The user clicks the cell, Its back color should be RED.
My code is This:
Janus.Windows.GridEX.GridEXFormatStyle style1 = new GridEX.FormatStyle();
style1.ForeColor = Color.Red;
mySpecificCell.FormatStyle = style1;
It works, but when I scroll down and then scroll up again, the color of cell returns to original color.
What is the problem with my code? How should I overcome this?