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

Scroll to current hour

in datetimepicker if the value is null or its YYYY-MM-DD 10:25 (not 30) if i click on hour icon to edit the time it start from 12 AM with is not good as UX.


i want to scroll to current hour range if the user clicked on the hour icon.


1 Reply

SP Sureshkumar P Syncfusion Team December 5, 2022 11:31 AM UTC

Hi Hani,

The scroll position is updated based on the list element value. You can change the list element interval (30) by using the step property.

To know more about the step property, refer to the API documentation link: https://ej2.syncfusion.com/vue/documentation/api/datetimepicker#step

Regards,

Sureshkumar P


Loader.
Live Chat Icon For mobile
Up arrow icon