ods-component-lib 1.17.143 → 1.17.147

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 CHANGED
@@ -1433,9 +1433,11 @@ function grid(props, dataGridRef) {
1433
1433
  allowExportSelectedData: true,
1434
1434
  formats: exportFormats
1435
1435
  }), props.columns.map(function (col) {
1436
- return React__default.createElement(dataGrid.Column, Object.assign({
1437
- key: col.dataField
1438
- }, col));
1436
+ return React__default.createElement(dataGrid.Column, {
1437
+ dataField: col.dataField,
1438
+ dataType: col.dataType,
1439
+ caption: col.caption
1440
+ });
1439
1441
  }), function () {
1440
1442
  if (props.customPopup !== undefined) {
1441
1443
  return React__default.createElement(dataGrid.Column, {