Hi,
We do not want our user to select anything in our grid.
We tried the following code:
grid.DisplayLayout.Override.SelectTypeCell = Infragistics.Win.UltraWinGrid.SelectType.None;grid.DisplayLayout.Override.SelectTypeCol = Infragistics.Win.UltraWinGrid.SelectType.None;grid.DisplayLayout.Override.SelectTypeRow = Infragistics.Win.UltraWinGrid.SelectType.None;grid.DisplayLayout.Override.SelectTypeGroupByRow = Infragistics.Win.UltraWinGrid.SelectType.None;
And it does not work, the clicked row is selected.
We have installed the latest hotfix for NETADVANTAGE .NET2007 volume3.
Can anyone help us?
Thanks in advance.
Greetz,
Marc
Hi Marc,
You are probably seeing the ActiveRow, not selection. By default, the grid applies a sort've selected appearance to the active row.
At design-time, go to the properties of the grid and find these two properties:
grid.DisplayLayout.Override.ActiveRowAppearance
grid.DisplayLayout.Override.ActiveCellAppearance
Right click on each one and Reset them to clear out the active row appearance and that should fix it.
Hi Mike,
We solved the issue. Thanks a lot!