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!
This issue can be replicated in the demo site: https://ej2.syncfusion.com/demos/#/material/pivot-table/selection.html
To replicate the issue, selection mode needs to be "cell", selection type "multiple" and cell selection mode "box". The issue appears when trying to make a box selection as follows: start the selection by pressing the left mouse button over a cell, move the mouse over another cell while keeping the mouse button pressed, and release the mouse button when over the other cell. If the mouse cursor is over the cell value element (div.e-cellvalue), the selection fails and following error is written to the browser console:
Uncaught TypeError: Cannot read property 'getElementsByClassName' of undefined
at Ga (/demos/src/common.min.js:1)
at Xa (/demos/src/common.min.js:1)
at t.getCellFromIndex (/demos/src/common.min.js:1)
at e.
at e.notify (/demos/src/common.min.js:1)
at t.e.trigger (/demos/src/common.min.js:1)
at e.selectCellsByRange (/demos/src/common.min.js:1)
at e.mouseUpHandler (/demos/src/common.min.js:1)
The issue does not appear when releasing mouse inside td.e-rowcell but outside div.e-cellvalue.