unselectable/editable formatted cell

Jun 25, 2009 at 8:48 AM


I'm a bit confused here. I want a read only cell that is formatted as such:

Format (#.00)

I need to set the grid[i,j].Editor for this. BUt that leaves me with the following problem. The cell is for display purposes only, so no editing involved.

However to make it uneditable I need to have the following: grid[i,j].Editor = null  which deletes my formatting.

So how would I format a cell and have it read only.


Jun 25, 2009 at 8:59 AM


Jun 25, 2009 at 10:54 AM

editor.EnableEdit = false;

(or editor.EditableMode = SourceGrid.EditableMode.None)