AD
Administrator
Syncfusion Team
May 28, 2004 07:22 PM UTC
I think this would be doable. You could take the Ellipsis cell code from \grid\samples\in depth\cellbutons sample. The ellipsis cell there is derive from GridTextBoxCellRenderer and GridTextBoxCellMocel. You could change the base classes to GridFormulaCellRenderer and GridFormulaCellModel. You would set teh style.ReadOnly = true originally, and when you handel the cellbutton click, you could flip this style value.
Note: To change any style that has been set ReadOnly, you need to first set grid.IgnoreReadOnly = true, chnage teh style, then set the IgnoreReadOnly back to false.