kendo-angular icon indicating copy to clipboard operation
kendo-angular copied to clipboard

[TreeList] The rowIndex field of the EditTemplateDirective returns undefined

Open georgi-sla opened this issue 4 months ago • 0 comments

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

  1. Create a TreeList component.
  2. Enable the editing feature.
  3. 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

georgi-sla avatar Oct 09 '24 12:10 georgi-sla