Dynamic DataGrid Width Based on Column Widths

Hi,

I have a question regarding the RadzenDataGrid column resizing behavior.

Is it possible to achieve the following behavior?

  • Users can resize the columns, so the total width of the grid can change dynamically.

  • The grid has a maximum width.

  • If the total width of all columns exceeds the maximum grid width, a horizontal scrollbar is displayed.

  • If the total width of all columns does not exceed the maximum grid width, the grid automatically shrinks to fit the total width of its columns.

Thanks in advance!