Gantt integration with Salesforce for multiple objects

Hello,

is it possible to have several custom objects displayed in one Gantt chart in a LWC application? This object can have different fields but every object has date fields which help to display the items in the Gantt chart. Read only would be enough.

In the moment it works for me with one object. I used this Github repo as a basis:

https://github.com/DHTMLX/salesforce-gantt-demo

Thanks for your help!

1 Like

Hello,
It depends on the part of Gantt where you want to display custom objects.
If you want to show something in the grid, you can use the template function that allows returning any text or HTML elements:
https://docs.dhtmlx.com/gantt/desktop__specifying_columns.html#datamappingandtemplates
Here is a simple example with different columns and custom elements:
http://snippet.dhtmlx.com/5/c4bdf6a10

If you need something different, please, clarify in which part of Gantt you want to show custom objects. You can also send a picture of how you imagine it should work.

@nicow have you found a solution? Thxxx