From 7dad9b69a7d4f8b673751476c32759ae9fcb1385 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 22 Nov 2023 16:24:10 -0700 Subject: [PATCH] Fix print did not work with forced hidden columns --- api/js/etemplate/et2_extension_nextmatch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 1978c88278..475494343e 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -2230,7 +2230,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2 } (widget).set_visible(visible); } - this.columns[i].visible = visibility[columnMgr.columns[i].id].visible; + this.columns[i].visible = visibility[columnMgr.columns[i].id]?.visible; if(this.dataview.rowProvider._columnIds.indexOf(columnMgr.columns[i].id) == -1) {