JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Sizing grids › Reply To: Sizing grids
July 11, 2025 at 9:18 am
#112660
Keymaster
Hi,
Smart UI allows defining each column’s width explicitly. You can mix:
%-based widths (relative to grid width)
auto (for content-based sizing)
Leave width undefined → grid will auto-distribute
Since you don’t know the total number of dynamic columns, use logic in JavaScript/TypeScript to calculate the remaining width and apply it evenly to the dynamic columns.
Best regards,
Markov
Smart UI Team
https://www.htmlelements.com/