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.
@@ -8358,7 +8358,7 @@ function StaticTable({
8358
8358
  dWidth = dynamic;
8359
8359
  }
8360
8360
  const dynHeight = isFitTableOn ? tableHeight / rowCount : defaultRowHeight;
8361
- return { cellHeight: dynHeight, cellWidth: dWidth, fixedColWidth: fWidth };
8361
+ return { cellHeight: Number(dynHeight), cellWidth: Number(dWidth), fixedColWidth: Number(fWidth) };
8362
8362
  }, [isFitTableOn, columnCount, rowCount, fixedColCount, tableWidth, tableHeight]);
8363
8363
  const gridRef = useRef(null);
8364
8364
  const conditionalFormatsByType = useMemo(() => {
@@ -8684,7 +8684,7 @@ function StaticTable({
8684
8684
  const finalStyleForRow = getFinalStyleObj(STYLE_FOR.ROW, baseStyleObj, rowLabel, level, groupIndex);
8685
8685
  headers.push({
8686
8686
  ...finalStyleForRow,
8687
- label: rowLabel,
8687
+ label: getCleanString(rowLabel),
8688
8688
  top: offsetTop,
8689
8689
  left: level * fixedColWidth,
8690
8690
  width: fixedColWidth,
@@ -8947,15 +8947,15 @@ function StaticTable({
8947
8947
  {
8948
8948
  tabIndex: -1,
8949
8949
  ref: gridRef,
8950
- columnWidth: ({ index }) => index < fixedColCount ? fixedColWidth : cellWidth,
8951
- rowHeight: cellHeight,
8950
+ columnWidth: ({ index }) => index < fixedColCount ? Number(fixedColWidth) : Number(cellWidth),
8951
+ rowHeight: Number(cellHeight),
8952
8952
  columnCount,
8953
8953
  rowCount,
8954
8954
  fixedColumnCount: fixedColCount,
8955
8955
  fixedRowCount,
8956
8956
  cellRenderer,
8957
- height: tableHeight,
8958
- width: tableWidth,
8957
+ height: Number(tableHeight),
8958
+ width: Number(tableWidth),
8959
8959
  classNameBottomRightGrid: "multigrid_data_section",
8960
8960
  classNameTopLeftGrid: "multigrid_left_fixed_section",
8961
8961
  classNameTopRightGrid: "multigrid_col_header_section",