DataGrid autosize/autofit columns #125

Closed
opened 2026-01-29 17:31:56 +00:00 by claunia · 2 comments
Owner

Originally created by @enchev on GitHub (Jun 17, 2021).

Details: https://forum.radzen.com/t/feature-request-datagrid-autosize-autofit/8235

Originally created by @enchev on GitHub (Jun 17, 2021). Details: https://forum.radzen.com/t/feature-request-datagrid-autosize-autofit/8235
Author
Owner

@Tilation commented on GitHub (Mar 9, 2023):

This would be very nice to have, instead of hardcoding width values for each column

@Tilation commented on GitHub (Mar 9, 2023): This would be very nice to have, instead of hardcoding width values for each column
Author
Owner

@enchev commented on GitHub (Oct 24, 2023):

You can use the following style to force the DataGrid to auto-size columns:

 <style>
    .rz-grid-table {
        width: unset;
    }
</style>

Check this demo for reference:
https://blazor.radzen.com/datagrid-inline-edit

@enchev commented on GitHub (Oct 24, 2023): You can use the following style to force the DataGrid to auto-size columns: ``` <style> .rz-grid-table { width: unset; } </style> ``` Check this demo for reference: https://blazor.radzen.com/datagrid-inline-edit
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#125