Feature Request: DataGrid Autosize/Autofit

Greetings,

Firstly I would like to mention that the data grid is great and thank you for your hard work.

The data grid has allot of features but one of the largest features I feel like it lacks is an autosize/autofit property for the columns. Whether this is done on render with a property set to true or when the user double clicks on the resizing line (like how excel does is), either (or both) would be greatly appreciated.

Thank you.

Hi @Kyle,

I've logged your request:

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:

Hello. How to apply this style only for one specific RadzenDataGrid and only for the first column?
I need the width of the first column to be set strictly according to the context, the remaining columns should have a fixed width, and the last column should take up all the free empty space. Please tell me how to do this?

You can't do that for only one column. This CSS rule affects all columns.