Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hi,
We have noticed a problem in Grid component for columns reorder and stacked headers features working together.
Conditions:
Uncaught TypeError: Cannot read property 'lockColumn' of undefined
at Draggable.HeaderRender.helper (ej2-grids.es2015.js:3682)
at Draggable.getHelperElement (ej2-base.es2015.js:7846)
at Draggable.intDragStart (ej2-base.es2015.js:7430)
https://stackblitz.com/edit/angular-2jnzhe-vkkv2q?file=index.html
(try to drag "ORDER DETAILS" header and observe console logs)
Probable source of failure is on this line:
For parent headers column object is searched by innerText of DOM element, that can be modified/transformed. Another problem can appear if column's header text would be not unique?