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
Describe the bug
Rows returned from
onSelectedRowsChangedevents are not numerically sorted but rather lexicographically, e.g.[0, 1, 10, 11, .. ].Reproduction
SlickGrid/src/slick.grid.ts
Line 4011 in 2722c60
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.0Validations