You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed a behavior in the DataGrid that can make some layouts look inconsistent.
Currently, the available width is distributed equally among the items in each row. This works well when every row has the same number of items, but when the last row is incomplete, its items become wider because they expand to fill the available space.
For example:
In the example above, the first card has four items, while the second has only three. Since the DataGrid redistributes the available width, the three items in the second card become wider than the ones above, causing the columns to no longer align vertically.
For admin interfaces and dashboards, it would be useful to have an option to keep column widths fixed (or use fixed grid tracks), so that each column maintains the same width regardless of how many items are present in a row. This would keep the layout visually aligned and provide a more consistent appearance.
I think something like an optional fixed column width or a configurable grid template would make the component much more flexible. Is this something that could be considered?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I've noticed a behavior in the DataGrid that can make some layouts look inconsistent.
Currently, the available width is distributed equally among the items in each row. This works well when every row has the same number of items, but when the last row is incomplete, its items become wider because they expand to fill the available space.
For example:
In the example above, the first card has four items, while the second has only three. Since the DataGrid redistributes the available width, the three items in the second card become wider than the ones above, causing the columns to no longer align vertically.
For admin interfaces and dashboards, it would be useful to have an option to keep column widths fixed (or use fixed grid tracks), so that each column maintains the same width regardless of how many items are present in a row. This would keep the layout visually aligned and provide a more consistent appearance.
I think something like an optional fixed column width or a configurable grid template would make the component much more flexible. Is this something that could be considered?
All reactions