Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
221
ultragrid without selection
posted

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 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    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.  

Children