diff --git a/src/timeline/component/ItemSet.js b/src/timeline/component/ItemSet.js index 7fdcfaac..a4a89bef 100644 --- a/src/timeline/component/ItemSet.js +++ b/src/timeline/component/ItemSet.js @@ -748,6 +748,8 @@ ItemSet.prototype._onRemoveGroups = function _onRemoveGroups(ids) { } }); + this.markDirty(); + this.emit('change'); }; diff --git a/test/timeline_groups.html b/test/timeline_groups.html index 0b31a965..f37d7195 100644 --- a/test/timeline_groups.html +++ b/test/timeline_groups.html @@ -12,7 +12,6 @@ #visualization { box-sizing: border-box; width: 100%; - height: 300px; } @@ -75,7 +74,7 @@ var options = { editable: { add: true, - //remove: true, + remove: true, updateTime: true, updateGroup: true },