From b56152a230b202cbf30952d0db4ca27dbf75a591 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 28 Dec 2024 15:12:52 +0100 Subject: [PATCH] Add missing download options --- .../src/jsMain/kotlin/io/kvision/tabulator/Options.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kvision-modules/kvision-tabulator/src/jsMain/kotlin/io/kvision/tabulator/Options.kt b/kvision-modules/kvision-tabulator/src/jsMain/kotlin/io/kvision/tabulator/Options.kt index 5717bee8a9..0572955abb 100644 --- a/kvision-modules/kvision-tabulator/src/jsMain/kotlin/io/kvision/tabulator/Options.kt +++ b/kvision-modules/kvision-tabulator/src/jsMain/kotlin/io/kvision/tabulator/Options.kt @@ -347,6 +347,8 @@ fun DownloadConfig.toJs(): Tabulator.AddditionalExportOptions { if (rowGroups != null) this.rowGroups = rowGroups if (columnCalcs != null) this.columnCalcs = columnCalcs if (rowHeaders != null) this.rowHeaders = rowHeaders + if (columnHeaders != null) this.columnHeaders = columnHeaders + if (dataTree != null) this.dataTree = dataTree } as Tabulator.AddditionalExportOptions }