ods-component-lib 1.14.20 → 1.14.21

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.
@@ -1228,9 +1228,9 @@ function grid(props) {
1228
1228
  });
1229
1229
  }
1230
1230
  };
1231
- var customizeText = function customizeText(cellInfo) {
1232
- var dateTimeValue = cellInfo.value;
1231
+ var _customizeText = function customizeText(cellInfo) {
1233
1232
  debugger;
1233
+ var dateTimeValue = cellInfo.value;
1234
1234
  if (dateTimeValue && cellInfo.column.datatype === 'datetime') {
1235
1235
  var formatedDate = moment(cellInfo.value).format('DD.MM.YYYY HH.mm (ZZ)');
1236
1236
  return formatedDate;
@@ -1326,7 +1326,9 @@ function grid(props) {
1326
1326
  }, col, {
1327
1327
  headerCellRender: headerCellRender,
1328
1328
  cellRender: col.dataField === 'IsActive' || col.dataField === 'Status' ? customizeBooleanColumnRender : "",
1329
- customizeText: customizeText
1329
+ customizeText: function customizeText(col) {
1330
+ return _customizeText(col);
1331
+ }
1330
1332
  }), col.required && React.createElement(RequiredRule, {
1331
1333
  message: col.requiredMessage
1332
1334
  }), col.dataField === 'IsActive' && React.createElement(HeaderFilter, {