Greetings, currently I am trying to filter project using project_id. Base on reference from this link, http://forum.dhtmlx.com/viewtopic.php?f=15&t=38349 . I have tried using filter(). But no filtered task displayed on /gantt_data or /gantt. Instead it give blank chart. No error message found in laravel log.
This is my code in GanttController
public function data() {
$connector = new GanttConnector(null, "PHPLaravel");
$connector->render_links(new GanttLink(), "id", "source,target,type");
$connector->filter("project_id", 1);
$connector->render_table(new GanttTask(),"id","start_date,duration,text,progress,parent,project_id");
}
Is there any bug? or there is no filter for gantt chart. Only APPLICABLE TO:Grid, TreeGrid, Tree, Combo, Scheduler, DataView, Chart, Form, DataStore, DHTMLX Touch components ?
I have refer from here and nothing works
docs.dhtmlx.com/connector__php__filtration.html
Help please. Thanks