unselectable/editable formatted cell

Jun 25, 2009 at 9:48 AM

Hi

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.


Regards,

Jun 25, 2009 at 9:59 AM

nvm

Jun 25, 2009 at 11:54 AM

editor.EnableEdit = false;

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