@linzjs/step-ag-grid 14.0.2 → 14.0.3
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/package.json
CHANGED
package/src/components/Grid.tsx
CHANGED
|
@@ -74,7 +74,7 @@ export const Grid = ({
|
|
|
74
74
|
rowSelection = "multiple",
|
|
75
75
|
suppressColumnVirtualization = true,
|
|
76
76
|
theme = "ag-theme-alpine",
|
|
77
|
-
sizeColumns = "auto",
|
|
77
|
+
sizeColumns = "auto-skip-headers",
|
|
78
78
|
...params
|
|
79
79
|
}: GridProps): JSX.Element => {
|
|
80
80
|
const {
|
|
@@ -418,6 +418,9 @@ export const Grid = ({
|
|
|
418
418
|
postSortRows={params.postSortRows ?? postSortRows}
|
|
419
419
|
onSelectionChanged={synchroniseExternalStateToGridSelection}
|
|
420
420
|
onColumnMoved={params.onColumnMoved}
|
|
421
|
+
onColumnResized={() => {
|
|
422
|
+
sizeColumns !== "none" && sizeColumnsToFit();
|
|
423
|
+
}}
|
|
421
424
|
alwaysShowVerticalScroll={params.alwaysShowVerticalScroll}
|
|
422
425
|
isExternalFilterPresent={isExternalFilterPresent}
|
|
423
426
|
doesExternalFilterPass={doesExternalFilterPass}
|