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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

date time display

Thread ID:





67871 Sep 3,2007 11:26 AM UTC Sep 3,2007 10:13 PM UTC WinForms 1
Tags: GridControl
swaminath dhavane
Asked On September 3, 2007 11:26 AM UTC

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 10:13 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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