Combo Customization Date / Time

Hello,

1 - I wonder if it is possible to leave the field editable fill hours? Ie the user to enter the date / time if you want, as he chooses.

2 - I would also increase the interval between the hours by default this set 5 minutes, how can I leave this time configured dynamically? (for each user to customize the time as desired).


Thanks.

Hi,

  1. there is no built in way to add autocomplete to a hour selector, or make it editable. But you may either try to create custom control for time select, or try to access a DOM element of the selector and replace/adjust it with something suitable.

In case you’ll be modifying DOM element, note that getter for time control most probably won’t work if DOM structure changes. You may need to override it
github.com/DHTMLX/scheduler/blo … r.js#L4863

scheduler.form_blocks.time.get_value = function(node, event, config){ //get values from the modified control };

Related APIs
docs.dhtmlx.com/scheduler/api__s … ction.html
docs.dhtmlx.com/scheduler/api__s … htbox.html
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/custom … ditor.html

  1. You can change the timestep using this config
    docs.dhtmlx.com/scheduler/api__s … onfig.html

Hello,

Many thanks for the help.