Skip to content

Missing layout changed event when deleting the last cell in the row #23948

@b06902062

Description

@b06902062

Expected behaviour

editMode.layoutChanged() is fired when deleting cell/row.
Expect cellDestroyed and/or rowDestroyed event fired when deleting the last cell of a row.

Actual behaviour

When deleting the last cell of a row, neither cellDestroyed nor rowDestroyed is emitted.

Live demo with steps to reproduce

Can be traced directly from the source code.
https://github.com/highcharts/highcharts/blob/master/ts/Dashboards/EditMode/Toolbar/CellEditToolbar.ts#L292

Product version

highcharts^12.3.0
highcharts/dashboards^4.0.0

Affected browser(s)

Tested on chrome and edge

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions