Hi,
Is there a way in the Active row to change a cell back color that is not the active cell. Im using infragistics ver 6.2
Thank you
The Selected or Active color overrides the individual cell colors. There are a couple of ways you can handle this.
One thing you could do is set the ActiveAppearance on the cell, in addition to the Appearance. There is also a SelectedAppearance on the cell. This way, you can control the appearance of the cell in any state. These properties might not be available if you are using an older version of the controls.
Another option is to use the SelectionOverlayColor which will make the selected row appear with a semi-transparent overlay, like MS Excel. This allows the user to see the cell color under the selection color.
Dave thanks for your response, but when you have an active row like in the image, the cells appearence back color turns into the selected row appearence back color, even if you set grid.ActiveRow.Cells[3].Appearance.BackColor = Color.Green
After i click on a Cell the whole row becomes ActiveRow, at that row the ActiveCell becomes in a different color to indicate to the user that it is the ActiveCell, but I am trying to change a cell back color, not the ActiveCell BackColor but the one on the left or right of the ActiveCell. in other words, i am trying to change a cell back color which is located on an ActiveRow just not the ActiveCell.
Thanks in advance
Hello,
Thank you for contacting Infragistics.
You should be able to do what you want by indexing into the ActiveRow.Cells collection and setting the appropriate Appearance property, i.e.: grid.ActiveRow.Cells[3].Appearance.BackColor = Color.Green.