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.

date time display

Thread ID:





67871 Sep 3,2007 07:26 AM Sep 3,2007 06:13 PM Windows Forms 1
Tags: GridControl
swaminath dhavane
Asked On September 3, 2007 07:26 AM

i am using syncfusion gridgrouping control and i assigning datasource to this grid.
in this datasource i have to show date and time of which time is getting displayed upto minutes only.( it is not displaying seconds)
i want display upto seconds also.

Ajish [Syncfusion]
Replied On September 3, 2007 06:13 PM

Hi Swaminath,

To display the date time in the specific formats you need to set the cell format as follows,
this.gridGroupingControl1.TableDescriptor.Columns["Date"].Appearance.AnyRecordFieldCell.Format = "dd-MM-yy hh:mm:ss tt";

Here is a sample for your reference,
Sample: http://websamples.syncfusion.com/samples/Grid.Windows/F67871/main.htm

Kindly take a look and let me know if you need any further assistance.



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.