Use field of data type Lookup in Gantt Lightbox

Hi,
I want to select Assignee field values in the lightbox from lookup(user) by adding a search bar in the lightbox section.
Please help with the implementation.


Assignee is a field label in gantt_tasks object

Hello Shourya,
You can show any HTML elements in the lightbox by creating a custom lightbox section:
https://docs.dhtmlx.com/gantt/desktop__custom_editor.html

Here are examples with the 3rd-party libraries where you can type in the search field and choose an item:
https://snippet.dhtmlx.com/5/248e7a34f
https://snippet.dhtmlx.com/5/5bdedc35d

I have a custom Lookup component like this one:
Custom Reusable Lookup Component In Salesforce LWC - LWC Factory
I want to add this to lightbox section to search for owner.

Hello Shourya,
Gantt is a Javascript library. It doesn’t have integration with Salesforce. If you want to show Salesforce components in Gantt, you need to make them work in Javascript. Or call a custom function that will return the Salesforce components in a format that is compatible with Javascript syntax.
I don’t have ready examples of the implementation. But if you want us to implement it for you, you can contact the Sales team:
info@dhtmlx.com

We have a custom html tag which searches Users in the user object stored in salesforce.
I want to display that html tag inside the lightbox section ,so that I can save the user in the column of gantt .

Hello Shourya,
As I said in the previous messages, you need to create a custom lightbox section that allows displaying HTML elements in the lightbox:
https://docs.dhtmlx.com/gantt/desktop__custom_editor.html
The HTML element is created in the render function, but you can modify it in the set_value function.

Here is another example with the custom tags in the lightbox:
https://snippet.dhtmlx.com/5/1867d0f9b