ods-component-lib 1.17.159 → 1.17.160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1293,7 +1293,7 @@ function grid(props, dataGridRef) {
|
|
|
1293
1293
|
if (gridCell.column.dataField === 'IsActive') {
|
|
1294
1294
|
console.log("gridCell.value", gridCell.value);
|
|
1295
1295
|
console.log(" excelCell.value", excelCell.value);
|
|
1296
|
-
excelCell.value = excelCell.value ? "Aktif" : "Pasif";
|
|
1296
|
+
if (localStorage.getItem("locale") === "tr") excelCell.value = excelCell.value ? "Aktif" : "Pasif";else if (localStorage.getItem("locale") === "en") excelCell.value = excelCell.value ? "Active" : "Passive";else excelCell.value = excelCell.value;
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
@@ -1531,7 +1531,7 @@ function grid(props, dataGridRef) {
|
|
|
1531
1531
|
})), React__default.createElement(dataGrid.Summary, null, React__default.createElement(dataGrid.TotalItem, {
|
|
1532
1532
|
column: props.totalColumunName == undefined ? "Id" : props.totalColumunName,
|
|
1533
1533
|
summaryType: "count",
|
|
1534
|
-
displayFormat: props.TotaDatalLanguage + " : " + props.TotalDataCount == undefined ?
|
|
1534
|
+
displayFormat: props.TotaDatalLanguage + " : " + props.TotalDataCount == undefined ? '{0}' : props.TotalDataCount
|
|
1535
1535
|
})), React__default.createElement(dataGrid.StateStoring, {
|
|
1536
1536
|
enabled: true,
|
|
1537
1537
|
type: "custom",
|