Skip to content

Commit 9e82792

Browse files
fix(datagrid-web): fix lint, test and build errors
1 parent ddec974 commit 9e82792

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
@@ -219,7 +219,8 @@ export const getPreview = (
219219
allowEventPropagation: true,
220220
exportValue: "",
221221
exportType: "text",
222-
exportFormat: ""
222+
exportDateFormat: "",
223+
exportNumberFormat: ""
223224
}
224225
];
225226
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
@@ -55,7 +55,10 @@ const initColumns: ColumnsPreviewType[] = [
5555
minWidth: "auto",
5656
minWidthLimit: 100,
5757
allowEventPropagation: true,
58-
exportValue: ""
58+
exportValue: "",
59+
exportDateFormat: "",
60+
exportNumberFormat: "",
61+
exportType: "text"
5962
}
6063
];
6164

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)