ods-component-lib 1.17.170 → 1.17.172
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 +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1291,10 +1291,11 @@ function grid(props, dataGridRef) {
|
|
|
1291
1291
|
excelCell = _ref.excelCell;
|
|
1292
1292
|
if (gridCell.rowType === 'data') {
|
|
1293
1293
|
if (gridCell.column.dataField === 'IsActive') {
|
|
1294
|
-
console.log("gridCell.value", gridCell.value);
|
|
1295
|
-
console.log(" excelCell.value", excelCell.value);
|
|
1296
1294
|
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
1295
|
}
|
|
1296
|
+
if (props.onExportingCustom) {
|
|
1297
|
+
props.onExportingCustom(gridCell, excelCell);
|
|
1298
|
+
}
|
|
1298
1299
|
}
|
|
1299
1300
|
}
|
|
1300
1301
|
}).then(function () {
|
|
@@ -1350,6 +1351,9 @@ function grid(props, dataGridRef) {
|
|
|
1350
1351
|
onEditCanceling: props.onEditCanceling,
|
|
1351
1352
|
onExporting: onExporting,
|
|
1352
1353
|
filterSyncEnabled: true,
|
|
1354
|
+
scrolling: {
|
|
1355
|
+
useNative: props.scrolUseNative == undefined ? false : props.scrolUseNative
|
|
1356
|
+
},
|
|
1353
1357
|
height: props.height == undefined ? window.innerHeight - 164 : props.height,
|
|
1354
1358
|
repaintChangesOnly: true,
|
|
1355
1359
|
remoteOperations: false,
|
|
@@ -1415,8 +1419,7 @@ function grid(props, dataGridRef) {
|
|
|
1415
1419
|
mode: props.scroll.mode,
|
|
1416
1420
|
showScrollbar: props.scroll.showScrollbar,
|
|
1417
1421
|
scrollByContent: props.scroll.scrollByContent,
|
|
1418
|
-
scrollByThumb: props.scroll.scrollByThumb
|
|
1419
|
-
useNative: props.scrolUseNative == undefined ? false : props.scrolUseNative
|
|
1422
|
+
scrollByThumb: props.scroll.scrollByThumb
|
|
1420
1423
|
}), props.exportEnable === true && React__default.createElement(dataGrid.Export, {
|
|
1421
1424
|
enabled: true,
|
|
1422
1425
|
allowExportSelectedData: true,
|