Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gantt.getGridColumn() and gantt.getGridColumns() #131

Open
kansimies opened this issue Nov 26, 2024 · 1 comment
Open

gantt.getGridColumn() and gantt.getGridColumns() #131

kansimies opened this issue Nov 26, 2024 · 1 comment

Comments

@kansimies
Copy link

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

@gearcoded
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants