when i call
gantt.dateFromPos(newValue)
, is there a function i can use to get the max possible Pos so that I can know its range? Thanks a lot
Hello,
you can use gantt.getState method to get the date range of gantt, and then use gantt.posFromDate to get coordinate of the furthest date
var max = gantt.posFromDate(gantt.getState().max_date);
docs.dhtmlx.com/gantt/api__gantt … mdate.html
docs.dhtmlx.com/gantt/api__gantt_getstate.html