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.

Problems with timeSpan column in a GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

94540 May 19,2010 09:56 AM May 25,2010 02:24 AM Windows Forms 1
loading
Tags: GridControl
Francisco Marquez
Asked On May 19, 2010 09:56 AM

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

Nirmal Raja [Syncfusion]
Replied On May 25, 2010 02:24 AM

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

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.

;