This is driving me insane... no matter what options I set for the grid it always selects the full row! I've tried the above code, and I've even used the designer to go through to selection styles but no matter what when I click a cell it is always selecting the full row. What am I doing wrong?
Chances are that your row is being "activated" instead of "selected." The default preset for the grid uses the same background color for the grid's active row as it does for selected rows.
See what happens when you set the following properties of your grid, so that the active row shows no background or foreground color:
.DisplayLayout.Override.ActiveRowAppearance.BackColor = Color.Empty.DisplayLayout.Override.ActiveRowAppearance.ForeColor = Color.Empty
That still didn't work:(
I have placed an event on keypress and looked at all the grid values at this time:
gExcelGrid.DisplayLayout.Override.ActiveRowAppearance.ForeColor "{Name=0, ARGB=(0, 0, 0, 0)}" System.Drawing.Color
gExcelGrid.DisplayLayout.Override.ActiveRowAppearance.BackColor "{Name=0, ARGB=(0, 0, 0, 0)}" System.Drawing.Color
gExcelGrid.DisplayLayout.Override.CellClickAction CellSelect Infragistics.Win.UltraWinGrid.CellClickAction