I implemented the AutoFitAllColumnsAsync() on the CustomGrid, but the column don't resize
Please see structure below
<CustomGrid @ref="@Grid"
OnRead="@OnGridRead" TItem="@Product" Pageable="true" Sortable="true" Resizable="true" FilterMode="GridFilterMode.FilterRow"> <GridColumns>
<CascadingValue Value="grid.GetDistinctColumnFilterValues">
<CustomGridColumn Field="@nameof(Product.Name)" Title="Product Name" /> <CustomGridColumn Field="@nameof(Product.Price)" /> <CustomGridColumn Field="@nameof(Product.ReleaseDate)" Title="Release Date" /> <CustomGridColumn Field="@nameof(Product.Active)" />
<CascadingValue>
</GridColumns>
</CustomGrid>