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

Problem with TimeSpan column

I have a DataTable that has a TimeSpan column, thenI pass that Table to the DataSource, 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?

thanks

8 Replies

JJ Jisha Joy Syncfusion Team May 14, 2010 04:33 AM UTC

Hi Paco,

I have tested the issue in the following sample. But I am afraid I was not able to see the issue mentioned. Could you please modifiy the following sample to show the issue here?.

Regards,
Jisha



GC_2d781f83.zip


FM Francisco Marquez May 14, 2010 04:11 PM UTC

Hi

sorry, but I can't reproduce the error in your project I am using a different control the GridGroupingControl and not the GridDataBoundGrid control that you used, please can you try with that other control.

thanks in advance.


FM Francisco Marquez May 14, 2010 04:42 PM UTC

Hi again Jisha

I modified your project to use the GridGroupingControl, in there you can see the error that I have.


thanks in advance



GC_1cf2dce2.zip


FM Francisco Marquez May 17, 2010 02:57 PM UTC

Hi Syncfusion team, any update or help that you can provide me on this.

thanks!


FM Francisco Marquez May 18, 2010 09:18 PM UTC

Hi, I am still having the problem with the GridGroupingControl with timespan column, does it has a solution?

thanks


JJ Jisha Joy Syncfusion Team May 20, 2010 12:40 PM UTC

Hi Paco,

Sorry for the delay in getting back to you.

You could set the following property to false to solve the issue.

this.gridGroupingControl1.Engine.ShowNestedPropertiesFields = false;

Regards,
Jisha


FM Francisco Marquez May 20, 2010 08:31 PM UTC

thank you very much, it is working now!


JJ Jisha Joy Syncfusion Team May 21, 2010 03:54 AM UTC

Hi Paco,

Thank you for your update.

Regards,
Jisha

Loader.
Live Chat Icon For mobile
Up arrow icon