Skip to content

Selected rows are not numerically sorted. #1194

@muendlein

Description

@muendlein

Describe the bug

Rows returned from onSelectedRowsChanged events are not numerically sorted but rather lexicographically, e.g. [0, 1, 10, 11, .. ].

Reproduction

if (!this.arrayEquals(previousSelectedRows.sort(), this.selectedRows.sort())) {

Expectation

Arrays that are considered numerical should also be sorted numerically.

Which Framework are you using?

Other

Environment Info

Binaries:
    Node: 24.14.0
    npm: 11.12.0

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions