Text position choice in lightbox section

Hello,

I have found on this forum the same issue that I have, but the solution is not adequate to what I need.

The rightside_text is overlapping when a task is split and there isn’t enough space.
My solution is to give the user a choice of where to show his text in the lightbox section, left, right or center.

Can you help me implement this.
Thanks !

Hello Dergal,
The following article explains how to add a Select section in the lightbox:
https://docs.dhtmlx.com/gantt/desktop__select.html
The following articles explain how to modify left side, right side and task text templates:
https://docs.dhtmlx.com/gantt/desktop__text_block_for_task.html
https://docs.dhtmlx.com/gantt/api__gantt_task_text_template.html
https://docs.dhtmlx.com/gantt/api__gantt_leftside_text_template.html
https://docs.dhtmlx.com/gantt/api__gantt_rightside_text_template.html

You just need to check a specific task value to return the task text in the templates.
Here is an example of how it might be implemented:
http://snippet.dhtmlx.com/5/566b4f976