Skip to content

[8.0.0-beta.2/8.0.0] Error in console when removing row or column when columnSummary is set #7174

@aninde

Description

@aninde

Description

Removing row or column when column summary is set with destinationRow and destinationColumn causes an error in the browser console

"Error: Assertion failed: Expecting an unsigned number." on

Screenshot 2020-08-06 at 14 12 22

function assert(condition, errorMessage) {
  if (!condition()) {
    throw new Error("Assertion failed: ".concat(errorMessage));

Steps to reproduce

  1. Remove any row or column.

Demo

https://jsfiddle.net/aninde/cs0e6g9d/ - v8.0.0-beta.2 (broken)
https://jsfiddle.net/aninde/w174k0su/ - v8.0.0 (broken)
https://jsfiddle.net/aninde/7qr4gtjo/ - v8.0.0-beta.1 (fixed)
https://jsfiddle.net/aninde/k3d2L6j9/ - v7.4.2 (fixed)

Your environment

  • Handsontable version: 8.0.0-beta.2 & 8.0.0
  • Browser Name and version: Firefox 79, Chrome 84
  • Operating System: macOS Catalina 10.15.6

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions