DHTMLX/gantt

gantt.getGridColumn() and gantt.getGridColumns()

Opened this issue · 1 comments

There is an issue where the getGridColumns function returns the result from
this.$getConfig().columns
Screenshot 2024-11-26 at 11 55 53

but the getGridColumn function searches for columns in the gantt.config.columns property
Screenshot 2024-11-26 at 11 54 14

@kansimies,
I don't see anything wrong with that. The gantt.getGridColumn and gantt.getGridColumns method are supposed to work only for the main grid. You cannot rely on these methods if you try to obtain the columns of the resource grid.
If you encounter an issue, please describe it in more detail. Also, I will need a way to reproduce the issue locally. Please add your configuration to the following snippet and make sure that the issue is reproduced there:
https://snippet.dhtmlx.com/40tsh9uz
Then, click on the Save button and send me the link.
Or send me a ready demo with all the necessary JavaScript and CSS files so that I can reproduce the issue locally.