Our state of the art Gantt chart


Post by DevHouse »

When dragging tasks when custom Grid regions have been used, a lot of errors appear:

  • Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined

  • Uncaught TypeError: Cannot read property 'startDate' of undefined

  • Uncaught TypeError: Cannot read property 'draggedEntities' of undefined

I've set up a Codepen: https://codepen.io/isazulay/pen/xxdLeeO

When not using these custom columns, everything works fine.


Post by mats »

I do not see any custom columns there..? Did you paste the right link?


Post by DevHouse »

My mistake, I've updated the link


Post by mats »

Change 'left' to 'locked', our code assumes there will always be a 'locked' section.


Post by DevHouse »

Alright, this makes it work indeed, thanks! But is there a way to set the name of this region to something else. Because when right clicking a column, I don't want it to say "Move column to locked". Instead I want it to say "Move column to left"


Post by mats »

It's not (yet) supported, I've opened this ticket to look into supporting it. https://github.com/bryntum/support/issues/3248


Post Reply