AD
Administrator
Syncfusion Team
February 28, 2007 08:08 PM UTC
Hi Adnan,
You can use the ContainKey() method to determine the specfic CellType in GridCellModelCollection.
if( ! gridControl1.CellModels.ContainsKey("TreeCell"))
gridControl1.CellModels.Add("TreeCell", new TreeCellModel(gridControl1.Model));
Best regards,
Haneef