How I can show actual Start date and actual planned in table column, right now we show planned start date


#1

I want to show actual start date and actual end date in table column left.How can I calculate it?
How can add tooltip to a task in gantt chart showing all the relevant details.


#2

Hello Shruti,

I want to show actual start date and actual end date in table column left.How can I calculate it?

To show more columns in the grid, you need to modify the gantt.config.columns property:
https://docs.dhtmlx.com/gantt/api__gantt_columns_config.html

If the name property matches a task property, Gantt will show the value of that property from the task object. If you need to show something different, you need to specify it by using the template function:
https://docs.dhtmlx.com/gantt/desktop__specifying_columns.html#datamappingandtemplates


How can add tooltip to a task in gantt chart showing all the relevant details.

Starting from the 7.0 version, you can enable the tooltip extension by applying the following command:

gantt.plugins({
  tooltip: true
});

https://docs.dhtmlx.com/gantt/desktop__tooltips.html
For older versions, you need to connect the dhtmlxgantt_tooltip file that you can find in the ext folder.

You need to modify the tooltip_text template to specify the data you want to show in the tooltip:
https://docs.dhtmlx.com/gantt/api__gantt_tooltip_text_template.html

You can see how it works in the following snippet:
http://snippet.dhtmlx.com/5/b3a904ecd