I have created a few custom columns in the gantt, and the value is calculated. Everything works well except when I wants to get the whole data using gantt.getTaskByTime() I dont see any values in custom columns.
I tried to reproduce your issue in the snippet below: https://snippet.dhtmlx.com/oqurzvwq ;
but it seems to work correctly to me ( gantt.getTaskByTime() show the data in the console).
Probably, it should be related to Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code.
Please, add your configuration in the snippet above and make sure that the issue is reproduced there.
If you calculate the values in the template function in the column configuration and don’t assign it to the task object, the calculated values will only be displayed in the grid. And the task object won’t have these values:
Thanks for the response with clarification, I am currently looking into it. Yes, at certain point of code I am able to access the values, but as moves forward before I submit to save, the values get changed to NULL. The issue is seems to be at my side, thanks @ramil for your time.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan