date time display

hi,
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.

1 Reply

AJ Ajish Syncfusion Team 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.

Regards,
Ajish.

Loader.
Up arrow icon