timepicker in grid cell

Hi Team,

urgent!

once again i need your help to close issue. i want add a timepicker just like datepicker in my grid.

this is the piece of code where i need to add a time picker

const format = { type: 'time', format: 'hh:mm a' };
{ field: 'appointmentTime', headerText: 'Appointment Time', editType:'timepicker', format:format ,width:'160'},

1 Reply

HS Hemanthkumar S Syncfusion Team December 20, 2023 04:45 AM UTC

Hi kapil jain,


Greetings from Syncfusion support.


Query: i want add a timepicker just like datepicker in my grid


Based on the information you provided, it seems that you want to render the TimePicker component in edit mode. This topic has been previously covered in the documentation below, which includes the procedure and a sample illustrating how to render the TimePicker component while editing using the cell edit template feature. For more details, please refer to the provided documentation.


Render TimePicker component while editing: https://ej2.syncfusion.com/react/documentation/grid/editing/edit-types#render-timepicker-component-while-editing


Please feel free to contact us if you require any further assistance. We are always available and eager to help you in any way we can.


Regards,

Hemanth Kumar S


Loader.
Up arrow icon