Skip to content

'Insert row above' while using nestedRows produces Uncaught error when we use it for a first child [Urgent] #7137

@AMBudnik

Description

@AMBudnik

Description

'Insert row above' while using nestedRows produces Uncaught error when we use it for a first child.

We have fixed the behavior of using 'Insert row above' but it apparently did not cover this case. If you try to use this option on any other element (parent, nth-child) it works as expected.

Steps to reproduce

  1. Use 'Insert row above' on the Alabama Shakes (2nd row)

Result
The row is not added and you get the console error.
Zrzut ekranu 2020-07-17 o 12 14 44

Demo

https://jsfiddle.net/zo1jhx49/ 7.4.2 (broken)
https://jsfiddle.net/vf4nxou7/ 8.0.0-beta1 (broken)
https://jsfiddle.net/mpdw5t78/ 8.0.0-beta2-rev22 (broken)
https://jsfiddle.net/0bfsrLqp/4/ 8.0.0-rev1 (broken)
https://jsfiddle.net/AMBudnik/08vwazpf/ 8.0.0 (broken)

Your environment

  • Handsontable version: 7.4.2
  • Browser Name and version: Chrome 83
  • Operating System: macOS Catalina 10.15.3

Inform Zen 26480

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions