Possible bug with column drag and drop when grid and gantt are in the same page

1 Answer 77 Views
Gantt General Discussions Grid
Vedad
Top achievements
Rank 2
Bronze
Bronze
Veteran
Vedad asked on 31 Aug 2022, 11:05 AM

Hi,

I had to add the grid to part of my gantt page in the app and as soon as I added the grid, gantt drag and drop of columns started to fail.

On column drop lib fails with the following error:

Uncaught TypeError: Cannot read properties of undefined (reading 'lockable')
    at init._allowDragOverContainers (kendo.all.js:311085:87)
    at init._dropTargetAllowed (kendo.all.js:311085:87)
    at init.drop (kendo.all.js:311085:87)
    at init.trigger (kendo.all.js:311085:87)
    at init._trigger (kendo.all.js:311085:87)
    at init._drop (kendo.all.js:311085:87)
    at kendo.all.js:311085:87
    at init._withDropTarget (kendo.all.js:311085:87)
    at init._end (kendo.all.js:311085:87)
    at init.trigger (kendo.all.js:311085:87)

Problem is reproducible in the following Dojo

To reproduce issue, just try to change the order of the columns in the gantt widget.

Result: Widget breaks on drop and any drag or drop is not possible. Browser console shows error described above.

Expected result: Columns reordered

Tested with Chrome and Firefox.

If there is anything else I can do to help, please let me know.

1 Answer, 1 is accepted

Sort by
0
Accepted
Neli
Telerik team
answered on 05 Sep 2022, 09:00 AM

Hi Vedad,

Thank you for reporting incorrect behavior. The issue is indeed a bug on our side and based on your report I logged the following issue in our official Feedback Portal.

https://feedback.telerik.com/kendo-jquery-ui/1578523-reordering-column-in-gantt-throws-an-error-when-there-is-a-grid-on-the-page

As a small token of gratitude I have updated your Telerik points.

Regards,
Neli
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Vedad
Top achievements
Rank 2
Bronze
Bronze
Veteran
commented on 05 Sep 2022, 09:14 AM

Hi Neli,

thank you very much. Looking forward to this fix. :)

Have a nice day.

Vedad

Tags
Gantt General Discussions Grid
Asked by
Vedad
Top achievements
Rank 2
Bronze
Bronze
Veteran
Answers by
Neli
Telerik team
Share this question
or