kendo-angular
kendo-angular copied to clipboard
[TreeList] The rowIndex field of the EditTemplateDirective returns undefined
Description
Currently, the rowIndex field of the EditTemplateDirective returns undefined instead of the actual index of the row or -1 for newly added items.
Steps To Reproduce
- Create a TreeList component.
- Enable the editing feature.
- Try to access the rowIndex in an EditTemplateDirective.
Please check out the following StackBlitz demo: https://stackblitz.com/edit/angular-un5ptu
Screenshots or video
No response
Actual Behavior
Currently, when the developer tries to access the rowIndex field of the EditTemplateDirective, the value that the field returns is undefined.
Expected Behavior
The rowIndex should return the actual row index of the currently edited item or -1 if the user is adding a new record.
Browser
All
Browser version
latest
OS type
No response
OS version
No response
Last working version of the Kendo UI for Angular package (if regression).
No response