Skip to content

Commit 7b710f1

Browse files
fix(datagrid-web): fix lint, test and build errors
1 parent df7b562 commit 7b710f1

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
@@ -224,7 +224,8 @@ export const getPreview = (
224224
allowEventPropagation: true,
225225
exportValue: "",
226226
exportType: "text",
227-
exportFormat: ""
227+
exportDateFormat: "",
228+
exportNumberFormat: ""
228229
}
229230
];
230231
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)