Delay days are displayed on the Gantt chart


#1

Hello,
I am a newbie and have just been studying for a week.
I have a few questions, please help.

  1. How to enter the actual completion date on the taskbar, the different colors and delay days are displayed on the Gantt chart.
  2. How to write the end date back to the database.
  3. Display tasks after search conditions.

Thanks!!


#2

Hello Kevin,

How to enter the actual completion date on the taskbar, the different colors and delay days are displayed on the Gantt chart.

You can change the time control in the lightbox and display both start_date and end_date:
https://docs.dhtmlx.com/gantt/desktop__time.html
Here is an example:
https://docs.dhtmlx.com/gantt/samples/05_lightbox/07_time.html

There are several ways of how to colorize tasks. Please, check the following article:
https://docs.dhtmlx.com/gantt/desktop__colouring_tasks.html

Here are the examples:
https://snippet.dhtmlx.com/b9be92972
http://snippet.dhtmlx.com/10c4986ee
http://snippet.dhtmlx.com/e855e1977
https://snippet.dhtmlx.com/3cb799a16
http://snippet.dhtmlx.com/66111aa93
http://snippet.dhtmlx.com/82ebe840a

Please, clarify what kind of delay days you mean.

How to write the end date back to the database.

It depends on the backend and the database. Usually, you can use the Data processor:
https://docs.dhtmlx.com/dataprocessor__index.html
https://docs.dhtmlx.com/gantt/desktop__filtering.html
You can check the guides for the backend configuration:
https://docs.dhtmlx.com/gantt/desktop__howtostart_guides.html

Display tasks after search conditions.

You can do that by using onBeforeTaskDisplay event handler:
https://docs.dhtmlx.com/gantt/api__gantt_onbeforetaskdisplay_event.html
https://docs.dhtmlx.com/gantt/desktop__filtering.html

Please, check the following examples:
https://docs.dhtmlx.com/gantt/samples/07_grid/03_filtering.html
https://snippet.dhtmlx.com/9f24ffdef
https://snippet.dhtmlx.com/62a932277
https://snippet.dhtmlx.com/88bcce46a


#3

Hello Ramil,
Thank you for your reply, I will study, thank you very much.