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

[TreeList] The rowIndex field of the EditTemplateDirective returns undefined #4427

Open
georgi-sla opened this issue Oct 9, 2024 · 0 comments

Comments

@georgi-sla
Copy link
Contributor

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

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