Skip to content

Grid columns do not grow/shrink with grid state feature #14678

Answered by ddaribo
palrajarockiaraj asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @palrajarockiaraj,

Thank you for following up!

According to the previously referenced Column sizing section in the Grid Sizing documentation topic, when a pixel width is set to columns:

"they stick to that size, unless they are resized manually. Since the combined width of the columns is static, it can be less than the IgxGrid width or exceed it."

, which means that what you are observing is expected and by design.

If you like to achieve a behavior, where the columns grow and shrink along with the grid width, setting percentage values is the approach to adopt.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@palrajarockiaraj
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kacheshmarova
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
awaiting author When the reviewer/verifier has some confusions about the scenario/behavior and wait author's action
2 participants