Hours per day and unit error when saving duration in db when

Hello

I’ve some question about gantt modul.

  1. I work 7 hours per day but my gantt scale day is by 24 hours. If I create a 28 hours project I would like seeing 4 days checked not 1 + 4 hours of next day.

  2. Actually I use this feature http://dhtmlx.com/docs/products/dhtmlxGantt/02_features.html I initialized my duration unit in hours with “gantt.config.duration_unit = 60601000;”, it’s work fine when I drag my tasks to edit duration but when I use the lightbox in day view, duration field in db do not corresponds to the view. ie I view 4 days on my gantt but I save 4 days in db unless 4*24.

  3. I would like filter my project to show only one project on my gantt timeline but I don’t know where put clause" WHERE id=x" in $gantt->render_table(“gantt_tasks”,“id”,“start_date,duration,text,progress,sortorder,priority,owner,parent”,"");

  4. xml creation: I would add dependency with “project:1” in data:[] when projects have childrens, when i create my json from my db

Thanks for yours anwsers.