Building a dateTimePicker from scratch

I am trying to implement a datetime-local timepicker in my gantt.

I tried to include this here: https://snippet.dhtmlx.com/5/80101a6e2

I just want to include the date-time picker like this, is there anyway I can achieve this? Everytime I try this in my code, I cant close my lightbox and I cant save any of my taks.

Thanks in advance

Hello Rafael,
You need to create a custom section in the lightbox, and there you can add any HTML elements you want:
https://docs.dhtmlx.com/gantt/desktop__custom_editor.html
Here is the example with the date-local element in the lightbox:
http://snippet.dhtmlx.com/5/381896cc8

1 Like

Thank you very much, that achieved exactly what I wanted, with a bit of css I got the perfect datetime-local picker.

As a token of my gratitude will leave you with a song by the most influencial portuguese singer, Toy.