Gantt Chart Inline Date: Can we set empty date in inline editor


#1

Hi Team,

I need to reset the date input field in gantt view during inline edit. Can we reset or empty the date input field.


#2

Hello Anuj,
There is no built-in way to do that, but you can implement it by using the Gantt API and Javascript.
You can change the value of the DOM element in the onEditStart event handler:
https://docs.dhtmlx.com/gantt/desktop__inline_editors_ext.html#events
Here is an example of how it might be implemented:
http://snippet.dhtmlx.com/5/ad90390cd