Make all cells unselectable by default

Apr 1, 2009 at 1:08 PM
I want my whole grid to be unselectable and to turn off column ordering etc (basically make it read only).

I currently have a base class MyGrid, that I derive from Grid where I set the font for all the instances of MyGrid in my application. 
Can anybody tell me how to set the selection status for all cells in my derived class?

Many thanks
Apr 1, 2009 at 1:12 PM
and within 2 minutes of asking the question I work it out for myself.  Isn't that always the way.

            SourceGrid.Cells.Controllers.Unselectable unselectableController = new SourceGrid.Cells.Controllers.Unselectable();