Skip to content

Commit 910d478

Browse files
fix(datagrid-web): change exportType value from "text" to "default"
1 parent 0a6322c commit 910d478

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export const getPreview = (
188188
minWidthLimit: 100,
189189
allowEventPropagation: true,
190190
exportValue: "",
191-
exportType: "text",
191+
exportType: "default",
192192
exportDateFormat: "",
193193
exportNumberFormat: ""
194194
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const defaultColumn: ColumnsPreviewType = {
4141
exportValue: "",
4242
exportDateFormat: "",
4343
exportNumberFormat: "",
44-
exportType: "text"
44+
exportType: "default"
4545
};
4646

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

packages/pluggableWidgets/datagrid-web/src/Datagrid.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@
6262
<caption>Export value</caption>
6363
<description />
6464
</property>
65-
<property key="exportType" type="enumeration" defaultValue="text">
65+
<property key="exportType" type="enumeration" defaultValue="default">
6666
<caption>Export type</caption>
6767
<description />
6868
<enumerationValues>
69-
<enumerationValue key="text">Text</enumerationValue>
69+
<enumerationValue key="default">Default</enumerationValue>
7070
<enumerationValue key="number">Number</enumerationValue>
7171
<enumerationValue key="date">Date</enumerationValue>
7272
<enumerationValue key="boolean">Boolean</enumerationValue>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const column = (header = "Test", patch?: (col: ColumnsType) => void): Col
2929
minWidth: "auto",
3030
minWidthLimit: 100,
3131
allowEventPropagation: true,
32-
exportType: "text"
32+
exportType: "default"
3333
};
3434

3535
if (patch) {

packages/pluggableWidgets/datagrid-web/typings/DatagridProps.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Big } from "big.js";
99

1010
export type ShowContentAsEnum = "attribute" | "dynamicText" | "customContent";
1111

12-
export type ExportTypeEnum = "text" | "number" | "date" | "boolean";
12+
export type ExportTypeEnum = "default" | "number" | "date" | "boolean";
1313

1414
export type HidableEnum = "yes" | "hidden" | "no";
1515

0 commit comments

Comments
 (0)