Skip to content

Commit 37b7903

Browse files
fix(datagrid-web): fix lint, test and build errors
1 parent 1a979e4 commit 37b7903

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

packages/pluggableWidgets/datagrid-web/src/Datagrid.editorConfig.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ export const getPreview = (
189189
allowEventPropagation: true,
190190
exportValue: "",
191191
exportType: "text",
192-
exportFormat: ""
192+
exportDateFormat: "",
193+
exportNumberFormat: ""
193194
}
194195
];
195196
const columns = rowLayout({

packages/pluggableWidgets/datagrid-web/src/Datagrid.editorPreview.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ const defaultColumn: ColumnsPreviewType = {
3838
minWidth: "auto",
3939
minWidthLimit: 100,
4040
allowEventPropagation: true,
41-
exportValue: ""
41+
exportValue: "",
42+
exportDateFormat: "",
43+
exportNumberFormat: "",
44+
exportType: "text"
4245
};
4346

4447
const initColumns: ColumnsPreviewType[] = [defaultColumn];

packages/pluggableWidgets/datagrid-web/src/utils/test-utils.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export const column = (header = "Test", patch?: (col: ColumnsType) => void): Col
2828
visible: dynamicValue(true),
2929
minWidth: "auto",
3030
minWidthLimit: 100,
31-
allowEventPropagation: true
31+
allowEventPropagation: true,
32+
exportType: "text"
3233
};
3334

3435
if (patch) {

0 commit comments

Comments
 (0)