@bit.rhplus/ui.grid-layout 0.0.58 → 0.0.60

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.
@@ -239,7 +239,7 @@ export const useGridLayoutApi = ({
239
239
  HeaderName: headerName,
240
240
  Order: index, // Pořadí podle pozice v validním column state
241
241
  Show: columnStateItem.hide !== true,
242
- Width: columnStateItem.width != null ? columnStateItem.width : (colDef.width || null),
242
+ Width: columnStateItem.width != null ? Math.round(columnStateItem.width) : (colDef.width != null ? Math.round(colDef.width) : null),
243
243
  System: colDef.system || false, // Systémové sloupce nejde skrývat/editovat
244
244
  };
245
245
  });