@opencorestack/opengridx 1.2.2 → 1.2.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/CHANGELOG.md CHANGED
@@ -5,6 +5,22 @@
5
5
 
6
6
  ---
7
7
 
8
+ ## [1.2.3] — 2026-09-08
9
+
10
+ ### Fixed
11
+ - `GridToolbar` Columns panel — columns with `hideable: false` are now excluded from
12
+ the panel list by default. Previously they appeared as permanently disabled rows,
13
+ adding visual noise for no benefit (users can never toggle them). The column still
14
+ renders normally in the grid body and in exports — only the Columns panel list changes.
15
+
16
+ ### Added
17
+ - `GridToolbarProps.showNonHideableColumns?: boolean` — opt-out prop. Set to `true` to
18
+ restore the old behavior and show `hideable: false` columns in the panel as disabled
19
+ rows. Default: `false`. No other API surface changed; this is a backward-compatible
20
+ addition.
21
+
22
+ ---
23
+
8
24
  ## [1.2.2] — 2026-09-08
9
25
 
10
26
  ### Fixed
package/dist/index.d.ts CHANGED
@@ -1007,7 +1007,7 @@ export declare interface GridThemeTypography {
1007
1007
  fontSizeXl?: string;
1008
1008
  }
1009
1009
 
1010
- export declare function GridToolbar({ columns, baseColumns, aggregationModel, onAggregationModelChange, pivotModel, onPivotModelChange, filterModel, onFilterModelChange, columnVisibilityModel, onColumnVisibilityModelChange, onColumnReorder, onColumnOrderReset, forceColumnsOpen, onColumnsPanelClose, children, rightContent, style, renderColumnsButton, renderFilterButton, renderAggregationButton, renderExportButton, renderQuickFilter, className, }: GridToolbarProps): JSX.Element;
1010
+ export declare function GridToolbar({ columns, baseColumns, aggregationModel, onAggregationModelChange, pivotModel, onPivotModelChange, filterModel, onFilterModelChange, columnVisibilityModel, onColumnVisibilityModelChange, onColumnReorder, onColumnOrderReset, forceColumnsOpen, onColumnsPanelClose, children, rightContent, style, renderColumnsButton, renderFilterButton, renderAggregationButton, renderExportButton, renderQuickFilter, className, showNonHideableColumns, }: GridToolbarProps): JSX.Element;
1011
1011
 
1012
1012
  export declare interface GridToolbarProps {
1013
1013
  columns?: GridColDef[];
@@ -1058,6 +1058,8 @@ export declare interface GridToolbarProps {
1058
1058
  renderQuickFilter?: (props: ToolbarQuickFilterRenderProps) => default_2.ReactNode;
1059
1059
  /** Additional CSS class applied to the toolbar root element. */
1060
1060
  className?: string;
1061
+ /** Show columns with `hideable: false` in the Columns panel as disabled rows. Default: false. */
1062
+ showNonHideableColumns?: boolean;
1061
1063
  }
1062
1064
 
1063
1065
  export declare function GridTooltip({ title, children, placement, enterDelay, leaveDelay }: GridTooltipProps): JSX.Element;