From 4aac535684b28bac7920cb0a763d9acd391e8cdc Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 3 Dec 2024 17:24:27 +0100 Subject: [PATCH] et2_grid.set_value() needs to remove the colgroup from the DOM too --- api/js/etemplate/et2_widget_grid.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/js/etemplate/et2_widget_grid.ts b/api/js/etemplate/et2_widget_grid.ts index a1c1c498b9..3fdf56d55f 100644 --- a/api/js/etemplate/et2_widget_grid.ts +++ b/api/js/etemplate/et2_widget_grid.ts @@ -977,6 +977,7 @@ export class et2_grid extends et2_DOMWidget implements et2_IDetachedDOM, et2_IAl this.thead.empty(); this.tfoot.empty(); this.tbody.empty(); + this.table.find('colgroup').remove(); // Update array managers for(let key in _value)