Add custom column in TimeLine mode

Hello,
I want to renew one of my question because it was not the main question of my old topic.

I would like to add a custom column, which has nothing to do with the dates, at the end of my timeline.
This column still respects the y_axis and thus will be affected by the component scrollbar and the fold/unfold (using tree).

(See the “Sum column” on the picture attached).

Is it possible to reach this state without doing any modification to the component ?
Otherwise, is there any way to edit the width of the last cell as a workaround

Thanks in advance.

Tino

Hi,
probably the simplest approach that wouldn’t involve modifying the source codes of the component would be to create that column with a custom code and place it above the last column of the timeline using an absolute positioning(just increase x_size by 1 so the same date range would be visible). You may also want to dynamically block time under the last(summary) column so users couldn’t move events there

Here is a small demo
docs.dhtmlx.com/scheduler/snippet/ec59db30

Thanks a lot ! I will try this :slight_smile: