Responsive Column Hiding by Priority
Columns declare a priority. When the grid is too narrow, the lowest-priority columns are hidden automatically and come back when space allows. Grids stay readable on tablets and narrow panels without custom resize code.
Planned. This page shows the specification from issue #185. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
12 columns with priorities 1-6, inside a container that has a width slider.
Expected behavior
As the width decreases, columns are hidden in descending priority order (highest number first) until the remaining columns fit their minWidths. When the overflow indicator is enabled, it opens the chooser listing the auto-hidden columns. Widening the container restores those columns.
Planned API surface
columnDef.responsivePrioritygridOptions.responsiveColumnsgridOptions.responsiveColumns.indicatorevent:columnStateChanged (source='responsive')api.getResponsivelyHiddenColumns()Acceptance criteria
- The hiding order follows priority, with ties broken by rightmost position first. (pending)
- Columns without a priority are never auto-hidden. (pending)
- Columns with lockVisible are never auto-hidden. (pending)
- Responsive hiding is tracked separately from user hiding, so a user-hidden column is not shown again by widening. (pending)
- A column the user explicitly shows overrides responsive hiding until reset. (pending)
- Hysteresis of at least 16px prevents flicker at the threshold. (pending)