Skip to content

Grid state - Column width set to minimum when all columns are hidden #16888

@remshams

Description

@remshams

Description

The columns of the igx grid are set to a minimal size when a grid state has been applied that has all columns hidden.

Steps to reproduce

  1. Hide all the columns
  2. Save the grid state using the IgxGridStateDirective
  3. Apply the grid state with the hidden columns
  4. Enable some/all columns

Can be reproduced in this repository

Result

The column width is set to it's minimum and the rows are no longer visible.

Expected result

The grid should expand the enabled columns to fill the available width and display the rows.

Attachments

igx-grid-state-issue.mp4

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions