-
Notifications
You must be signed in to change notification settings - Fork 331
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
Lightbox from Task to Project type #128
Comments
@rldn21, Probably, the issue is related to the Gantt configuration, but it is hard to suggest what might be wrong as I don't see your code. |
https://snippet.dhtmlx.com/p901d3zk Thanks in advance! |
@rldn21, https://files.dhtmlx.com/30d/0cc793583ae8f5698d1f14a881e70333/screenshot_20241031_121130.png https://files.dhtmlx.com/30d/4743d5d1bb3d80c59665d0a0ec6fa163/screenshot_20241031_121240.png These features were working in the 7.1 and 8.0 GPL versions due to a bug in Gantt. But that bug was fixed in the 9.0 version, so, now, it doesn't work in the free version. The expected behavior is to not render the section or not show the expected elements like it works with the I will add it as a bug to our internal bug tracker, so, it will be fixed in the future. If you added the GPL version by a mistake, you need to remove it, then it will work as expected: |
Thank you for your reply! I upgraded my script from version 8 indeed. There it was working. In the .mp4 i see you remove the lines: Without that, the gantt doesnt work of course.... Any suggestions? |
@rldn21, If you use the Standard (GPL) version, you cannot use the Pro features. So, if you want to have the task types feature, you need to manually implement it by using the Gantt API and Javascript. And then you can add a
https://docs.dhtmlx.com/gantt/desktop__select.html Here is the updated snippet: Another way is to use the latest available 8.0 version where the bug with the Pro features in the GPL version wasn't fixed. |
When changing the task type from Task to Project in the lightbox, the lightbox popup disappears.
(only in version 9).
Error in console:
index.js:534 Uncaught TypeError: Cannot read properties of null (reading 'nextSibling')
at Xa.t._set_lightbox_values (index.js:534:64)
at Xa.t._silent_redraw_lightbox (index.js:807:9)
at t.changeLightboxType (gantt_core.js:326:9)
at k.onchange (typeselect_control.js:37:10)
The text was updated successfully, but these errors were encountered: