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. Image for the cookie policy date
close icon

Problems with timeSpan column in a GridGroupingControl

I have a DataTable that has a TimeSpan column, thenI pass that Table to the DataSource of a GridGroupingControl, but when the results is shows in the window, the column was splitted into 11 columns.

For example my TimeSpan column is call lock, so is displaying 11 columns with the name of lock_Hours, lock_minutes, lock_seconds, etc.

How can I show just one column with dd.HH:mm:ss?
I attached a project wher you can se an error

thanks in advance
Paco.



GC_a3280415.zip

1 Reply

NR Nirmal Raja Syncfusion Team May 25, 2010 06:24 AM UTC

Hi Paco,

Sorry for the delay.

Disabling the ShowNestedPropertiesFields will fix the issue of displaying the TimeSpan column on different columns.

Please refer the code below:
this.gridDataBoundGrid1.ShowNestedPropertiesFields = false;

Also refer the modified sample attached below:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GC736684207.zip

Let me know if you have any queries.

Regards,
Nirmal

Loader.
Live Chat Icon For mobile
Up arrow icon