ywana-core8 0.0.206 → 0.0.210

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.
@@ -1349,12 +1349,17 @@ var DataTable = function DataTable(props) {
1349
1349
  size: "small",
1350
1350
  clickable: true
1351
1351
  }) : null);
1352
- }), /*#__PURE__*/React.createElement("th", null)), /*#__PURE__*/React.createElement("tr", null, columns.filter(function (_ref3) {
1352
+ }), /*#__PURE__*/React.createElement("th", {
1353
+ rowSpan: 2,
1354
+ colSpan: 1
1355
+ })), /*#__PURE__*/React.createElement("tr", null, columns.filter(function (_ref3) {
1353
1356
  var type = _ref3.type;
1354
1357
  return type === TYPES.ENTITY;
1355
1358
  }).map(function (_ref4) {
1356
- var label = _ref4.label;
1357
- return [/*#__PURE__*/React.createElement("th", null, label), /*#__PURE__*/React.createElement("th", null, label), /*#__PURE__*/React.createElement("th", null, label)];
1359
+ var subcolumns = _ref4.subcolumns;
1360
+ return subcolumns.map(function (subcolumn) {
1361
+ return /*#__PURE__*/React.createElement("th", null, subcolumn.label);
1362
+ });
1358
1363
  }))), /*#__PURE__*/React.createElement("tbody", null, multiSort(rows, sortDir).map(function (row) {
1359
1364
  return /*#__PURE__*/React.createElement(DataTableRow, {
1360
1365
  key: row.id,
@@ -4718,6 +4723,7 @@ var TableEditor = function TableEditor(props) {
4718
4723
  label: field.label,
4719
4724
  type: field.type,
4720
4725
  format: field.format,
4726
+ subcolumns: field.item ? field.item : [],
4721
4727
  onChange: field.id === "checked" ? checkOne : field.editable ? change : null,
4722
4728
 
4723
4729
  /* checked has it´s own handler */