а

Can I adjust the input size of the InlineEditor?


#1

Can I adjust the input size of InlineEditor’s start_date and end_date?
The width and input size of columns do not match. (explorer)


#2

Hello Kdwehd,
The width is expanded for all browsers because Gantt uses the date element for the date inline editor:
https://www.w3schools.com/tags/att_input_type_date.asp
https://www.w3schools.com/jsref/dom_obj_date.asp
If you try to change the width, it will look correctly in Internet Explorer and other browsers that don’t support the Date HTML element, but it will look ugly in browsers that support that element:

To make the inline editor fit the column width, you need to add the following style rule:

<style>
.gantt_grid_editor_placeholder div {
  width: 100% !important;
}
</style>

Here is the snippet:
http://snippet.dhtmlx.com/971631db9