Column formatting

Hi,

Would like to know how can the column formatting be done in gcc?

Thanks

1 Reply

HA haneefm Syncfusion Team May 25, 2007 05:52 PM UTC

Hi Person,

You can try this code snippet to format the datetime column in GridGroupingControl.

this.gridGroupingControl1.TableDescriptor.Columns["DateColumn"].Appearance.AnyRecordFieldCell.CellType="TextBox";;
this.gridGroupingControl1.TableDescriptor.Columns["DateColumn"].Appearance.AnyRecordFieldCell.CellValueType=typeof(DateTime);
this.gridGroupingControl1.TableDescriptor.Columns["DateColumn"].Appearance.AnyRecordFieldCell.Format = "MM/dd/yy HH:mm:ss:fff";

Kindly let us know if this helps.

Best Regards,
Haneef

Loader.
Up arrow icon