Modify dhtmlxGantt to work with multiple projects - Laravel5

I have integrated dhtmlxGantt in a Laravel5 project and everything is working as expected. But I want to modify it to store charts for more than one project. For that I want to add extra field called “project_id” and load data through a filter.

I have tried modifying the Controller with the following code :

[code]$connector->render_links(
GanttLink::where(‘user_id’, ‘=’, 1)->get(),
“id”,
“source,target,type”
);

$connector->render_table(
GanttTask::where(‘user_id’, ‘=’, 1)->get(),
“id”,
“start_date,duration,text,progress,parent”
);[/code]

This solution allowed me to load the chart from the data base in the way I wanted. But It does not save the changes back to the database. I went through the dhtmlxGantt documentations but did not get any solution for this.

I found these links in my research and might be helpful.

Link 1: Changing values before saving - http://docs.dhtmlx.com/connector__php__data_management_howtos_updating.html#howcanichangevaluesbeforesaving

Link 2: Filtering results based on a parameter - http://docs.dhtmlx.com/connector__php__filtration.html

Please help me to modify my project in a way which allows to work (Load and Edit) on different charts.

Hello,

You can use DataProcessor library that lets to ‘communicate’ with server-side backend. It helps to monitor all data changes.
docs.dhtmlx.com/dataprocessor__index.html

Hellow, yasgun same problem with me. did you get any solution?