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.

Column formatting

Thread ID:

Created:

Updated:

Platform:

Replies:

61421 May 25,2007 07:10 AM May 25,2007 01:52 PM Windows Forms 1
loading
Tags: Grouping
Person
Asked On May 25, 2007 07:10 AM

Hi,

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

Thanks

haneefm [Syncfusion]
Replied On May 25, 2007 01:52 PM

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.

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.

;