Hello,
I have a WinGrid in one form that needs to select only the cell that I click on, not all the row related to that cell. I haven't been able to achieve that, so I'll ask for help: is this possible? How?
I think it should be something that controls that in the OverrideLayout of the grid, but I can't find it. Something like CellSelectionType = Row/Column/Cell or something like that.
Thanks in advance!
Hello Xe,
Thank you for contacting Infragistics Developer Support.
If you want to select a cell only when you click on it you could set the CellClickAction property to CellSelect. You can do that by using the following line:
ultraGrid1.DisplayLayout.Override.CellClickAction = CellClickAction.CellSelect;
Note that by doing that the row will still become the active row and the active row appearance will be applied to the whole row. So you might want to turn off active row appearances:
ultraGrid1.DisplayLayout.Override.ActiveAppearancesEnabled = DefaultableBoolean.False;
Let me know if you have any additional questions.
Yes, but with that I can't have ActiveAppearances active, and I need backcolor of some cells to be shown even when the cell is selected.
Thanks for the answer, anyway.