Skip to content
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

Tree Grid Multi Row Drag sample throws errors when interacting with the UI #3439

Open
ChronosSF opened this issue Feb 20, 2024 · 0 comments
Open

Comments

@ChronosSF
Copy link
Member

Steps to reproduce

  1. Open https://staging.infragistics.com/angular-demos/samples/tree-grid/tree-grid-multi-row-drag
  2. Use the checkboxes to select rows 3, 4 and 5 (0 based index :) )
  3. Try to drag for deletion

Result

Nothing happens and an error is thrown in the console

main.dc8bf83883b14a06.js:1 ERROR TypeError: Cannot read properties of undefined (reading 'ID')
at s.deleteRowById (main.dc8bf83883b14a06.js:1:2165425)
at s.deleteRow (main.dc8bf83883b14a06.js:1:1886211)
at 728.666f107a058ce454.js:1:432987
at Array.forEach ()
at o.onDropAllowed (728.666f107a058ce454.js:1:432961)
at 728.666f107a058ce454.js:1:434431
at tD (main.dc8bf83883b14a06.js:1:383400)
at Object._ [as next] (main.dc8bf83883b14a06.js:1:383567)
at We.next (main.dc8bf83883b14a06.js:1:162825)
at at._next (main.dc8bf83883b14a06.js:1:162492)

Expected result

No error, rows to be deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant