ods-component-lib 1.17.148 → 1.17.151

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.
@@ -1281,7 +1281,16 @@ function grid(props, dataGridRef) {
1281
1281
  exportDataGrid({
1282
1282
  component: e.component,
1283
1283
  worksheet: workbook.addWorksheet('Main sheet'),
1284
- autoFilterEnabled: true
1284
+ autoFilterEnabled: true,
1285
+ customizeCell: function customizeCell(_ref) {
1286
+ var gridCell = _ref.gridCell,
1287
+ excelCell = _ref.excelCell;
1288
+ if (gridCell.rowType === 'data') {
1289
+ if (gridCell.column.dataField === 'IsActive') {
1290
+ excelCell.value = gridCell.value == "Active" ? "Aktif" : "Pasif";
1291
+ }
1292
+ }
1293
+ }
1285
1294
  }).then(function () {
1286
1295
  workbook.xlsx.writeBuffer().then(function (buffer) {
1287
1296
  saveAs(new Blob([buffer], {