We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column formatting

Thread ID:

Created:

Updated:

Platform:

Replies:

61421 May 25,2007 11:10 AM UTC May 25,2007 05:52 PM UTC Windows Forms 1
loading
Tags: Grouping
Person
Asked On May 25, 2007 11:10 AM UTC

Hi,

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

Thanks

haneefm [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;