DataTable: Edit Programmatic all row cannot read properties of undefined (reading 'data') #3013
Labels
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Describe the bug
I custom edit Programmatic all row in table whit one click button.
It only working with last row
when I edit other row it show error
example: https://codesandbox.io/s/solitary-bush-hwl9d7?file=/src/demo/DataTableEditDemo.js
Reproducer
https://codesandbox.io/s/solitary-bush-hwl9d7?file=/src/demo/DataTableEditDemo.js
PrimeReact version
8.1.1
React version
17.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
click Activate 1st => edit last row (it's ok) => edit other row it's not working
Expected behavior
No response
The text was updated successfully, but these errors were encountered: