AD
Administrator
Syncfusion Team
August 31, 2005 10:24 PM UTC
In general, you should use Model.QueryCellInfo to set ReadOnly propertiues instead of PrepareViewStyleInfo. Here is a KB link.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=95
But for the dropdown CellType = "RichText", event if you set style.ReadOnly = true for the cell, you can drop it, and it looks like you can try to edit the dropdown, it is just that the changed value will not save. It woul be more friendly not to drop the cell. To do this, you could handle the CurrentCellShowingDropdown event, and if grid.CurrentCell.RowIndex/ColIndex point to the cell you do not want to edit, set e.cancel = true. This will prevent the cell from dropping.