p-table cell edit wrong index on onEditComplete event #9075
Labels
LTS-FIXED-9.2.4
Fixed in PrimeNG LTS 9.2.4
LTS-FIXED-10.0.9
Fixed in PrimeNG LTS 10.0.9
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/github-yvvksh
Current behavior
When clicking a cell in the first row, onEditInit event emits. The data in that event shows that the index of the row is 0 (zero).
When you click a cell in the second row, onEditComplete event emits. The data in that event shows that the index of the row is 1.
Expected behavior
The data in onEditComplete should emit the same rowindex as was emitted on OnEditInit.
Minimal reproduction of the problem with instructions
Please tell us about your environment:
Windows 10
VS Code
Angular version: 9.1.7
PrimeNG version: 9.1.0
Browser: all
Language: all
Node (for AoT issues):
node --version
= 12.13.0The text was updated successfully, but these errors were encountered: