DataGrid Min Width for Column #324

Closed
opened 2026-01-29 17:35:24 +00:00 by claunia · 0 comments
Owner

Originally created by @s-dezign on GitHub (Feb 10, 2022).

In Data Grid Column, if you setup Width in % so it will expand according to window, then you have no way to set min with.
If I manually set min-width for col in colgroup it will do the trick. Just need a property for it.

To Reproduce
Steps to reproduce the behavior:

  1. Set Width to 100% of one of the column, other columns set Width in pixels
  2. Shrink down the window
  3. See that column will be collapsed completely (if other columns with Width in pixels are presented)

What we need is an ability to setup win-width for each col in colgroup

<colgroup>
   <col id="WcX97loMaE0-col" style="width:100%; min-width: 500px">
   <col id="WcX97loMaE1-col" style="width:200px">
   <col id="WcX97loMaE2-col" style="width:110px">
</colgroup>

Please add that.

Originally created by @s-dezign on GitHub (Feb 10, 2022). In Data Grid Column, if you setup Width in % so it will expand according to window, then you have no way to set min with. If I manually set `min-width` for `col` in `colgroup` it will do the trick. Just need a property for it. **To Reproduce** Steps to reproduce the behavior: 1. Set Width to 100% of one of the column, other columns set Width in pixels 2. Shrink down the window 3. See that column will be collapsed completely (if other columns with Width in pixels are presented) What we need is an ability to setup win-width for each `co`l in `colgroup` ``` <colgroup> <col id="WcX97loMaE0-col" style="width:100%; min-width: 500px"> <col id="WcX97loMaE1-col" style="width:200px"> <col id="WcX97loMaE2-col" style="width:110px"> </colgroup> ``` Please add that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#324