Hi Najmeh,
Static cells can be deleted by the user if the static cells are a part of the selection when the delete key is pressed. Since you have mentioned that the user should not able to change his/her choice after selecting once, I have used ReadOnly. To prevent this deletion behavior, set the cells to Read-only in addition to setting it to Static.
As you have mentioned, to change the cell type the QueryCellInfo event is better. To know the difference between the QueryCellInfo and the PrepareViewStyleInfo you can refer the following link.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=96
By handling the gridDataBoundGrid1.CurrentCellValidating event you can avoid the user from selecting “Macro Classic Name”.
I have attached the modified sample.
Regards,
Calvin.
39461_0.zip