AD
Administrator
Syncfusion Team
September 20, 2006 05:42 AM UTC
Hi Vijaya,
This is by Design. Use the below code snippet to change the celltype of the Boolean/DataTime type column in a grid.
//For Main Table
//TextBox for normal...//Static for readonly..
this.grid.TableDescriptor.Columns["BooleanColName"].Appearance.AnyRecordFieldCell.CellType = "TextBox"; //="Static"
this.grid.TableDescriptor.Columns["dateColName"].Appearance.AnyRecordFieldCell.CellType = "TextBox"; //="Static"
//For any table....
GridTableDescriptor gd = this.grid.GetTableDescriptor("MyTable"); //Code
gd.Columns["BooleanColName"].Appearance.AnyRecordFieldCell.CellType = "TextBox";//="Static"
gd.Columns["dateColName"].Appearance.AnyRecordFieldCell.CellType = "TextBox"; //="Static"
Thanks,
Haneef