pace-table-lib 1.0.14 → 1.0.16

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.
@@ -8377,7 +8377,7 @@
8377
8377
  dWidth = dynamic;
8378
8378
  }
8379
8379
  const dynHeight = isFitTableOn ? tableHeight / rowCount : defaultRowHeight;
8380
- return { cellHeight: dynHeight, cellWidth: dWidth, fixedColWidth: fWidth };
8380
+ return { cellHeight: Number(dynHeight), cellWidth: Number(dWidth), fixedColWidth: Number(fWidth) };
8381
8381
  }, [isFitTableOn, columnCount, rowCount, fixedColCount, tableWidth, tableHeight]);
8382
8382
  const gridRef = React.useRef(null);
8383
8383
  const conditionalFormatsByType = React.useMemo(() => {
@@ -8703,7 +8703,7 @@
8703
8703
  const finalStyleForRow = getFinalStyleObj(STYLE_FOR.ROW, baseStyleObj, rowLabel, level, groupIndex);
8704
8704
  headers.push({
8705
8705
  ...finalStyleForRow,
8706
- label: rowLabel,
8706
+ label: getCleanString(rowLabel),
8707
8707
  top: offsetTop,
8708
8708
  left: level * fixedColWidth,
8709
8709
  width: fixedColWidth,
@@ -8966,15 +8966,15 @@
8966
8966
  {
8967
8967
  tabIndex: -1,
8968
8968
  ref: gridRef,
8969
- columnWidth: ({ index }) => index < fixedColCount ? fixedColWidth : cellWidth,
8970
- rowHeight: cellHeight,
8969
+ columnWidth: ({ index }) => index < fixedColCount ? Number(fixedColWidth) : Number(cellWidth),
8970
+ rowHeight: Number(cellHeight),
8971
8971
  columnCount,
8972
8972
  rowCount,
8973
8973
  fixedColumnCount: fixedColCount,
8974
8974
  fixedRowCount,
8975
8975
  cellRenderer,
8976
- height: tableHeight,
8977
- width: tableWidth,
8976
+ height: Number(tableHeight),
8977
+ width: Number(tableWidth),
8978
8978
  classNameBottomRightGrid: "multigrid_data_section",
8979
8979
  classNameTopLeftGrid: "multigrid_left_fixed_section",
8980
8980
  classNameTopRightGrid: "multigrid_col_header_section",