Skip to content

[AnalyticalTable]: selection on disabled subRows is triggered when selectSubRows is true #6965

@koeppel

Description

@koeppel

Describe the bug

When selecting a row in the AnalyticalTable with isTreeTable all of the subRows are also selected, even if they are disabled.

Isolated Example

https://stackblitz.com/edit/github-ajz8wnkl?file=src%2Fdata.ts,src%2FApp.tsx

Reproduction steps

Open example -> select any parent -> child rows are selected as well (even if disabled)

Expected Behaviour

There should be a hook to determine which subRows should be selected OR simply don't select disabled rows.

Screenshots or Videos

No response

UI5 Web Components for React Version

2.7.3

UI5 Web Components Version

2.7.3

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions