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
200
disable selection in ultragrid
posted

Hi.

I am sure this is an easy boolean fix... I just can't find it :)

I have 2 grids. One is updated upon selection of the other. Ny problem is, that I cannot make one of the grids "unselectable". Thus when the user clicks on a row/cell the selection should not be seen. I've looked for some overrides, hooked on events to set handled flags and even tried making selection (and activerow) transparrent.

So to sum it up: Where do I find this sweet little tiny boolean that disbles selection in a grid?

Thanks
Hykkel 

  • 5520
    Suggested Answer
    posted

          ultraGrid1.DisplayLayout.Override.SelectTypeCell = SelectType.None;

                ultraGrid1.DisplayLayout.Override.SelectTypeCol = SelectType.None;

                ultraGrid1.DisplayLayout.Override.SelectTypeRow = SelectType.None;