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

Grid Timespan column

Hi
I'm trying to make column based on TimeSpan? value from Database (in database filed type is Time )and I would like to on grid edit to have a choice to pick the time only. 
Could anybody help me please.
Thank you.

3 Replies 1 reply marked as answer

JP Jeevakanth Palaniappan Syncfusion Team November 30, 2020 06:38 AM UTC

Hi Luke, 
 
Greetings from Syncfusion support.  

We have validated your query and you can render the timepicker by using the Edit template feature of the grid. Please refer the below documentation and the sample for your reference. 


Please get back to us if you need further assistance.  

Regards,  
Jeevakanth SP.  


Marked as answer

AP Ashwini Paranthaman Syncfusion Team December 1, 2020 05:36 AM UTC

From: lucky11 <lucky11@op.pl>
Sent: Monday, November 30, 2020 11:08 AM
To: Syncfusion Support <support@syncfusion.com>
Subject: RE: Syncfusion support community forum 160151, Grid Timespan column, has been updated. 


Hi  
Thank you. I was trying to do exactly the same but I didn't ad ID column and update button wasn't working. 
Kind regards 
Luke 



JP Jeevakanth Palaniappan Syncfusion Team December 3, 2020 05:39 AM UTC

Hi Luke, 

Thanks for the update. 

We would like to inform you that, it is must to set the ID property value same as that of the Field name of the column. Based on this property only, we will map the entered value in the component with its corresponding column and save the entered data. 

So it is recommended to set the ID property same as of its Column Field

Please get back to us if you need further assistance. 

Regards, 
Jeevakanth SP. 


Loader.
Live Chat Icon For mobile
Up arrow icon