@bit.rhplus/ui.grid-layout 0.0.59 → 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.
- package/dist/useGridLayout.d.ts +47 -10
- package/dist/useGridLayout.js +482 -892
- package/dist/useGridLayout.js.map +1 -1
- package/dist/useGridLayoutApi.js +1 -1
- package/dist/useGridLayoutApi.js.map +1 -1
- package/package.json +2 -2
- package/useGridLayout.js +536 -1084
- package/useGridLayoutApi.js +1 -1
- /package/dist/{preview-1770614312455.js → preview-1771153821287.js} +0 -0
package/useGridLayoutApi.js
CHANGED
|
@@ -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
|
|
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
|
});
|
|
File without changes
|