I have an app using an SfDataGrid which is bound to an ObservableCollection<T>, where T contains various properties bound to columns in the grid. The grid is defined as follows:
<sf:SfDataGrid AutoGenerateColumns="True"
ColumnWidthMode="Auto"
AllowResizingColumns="True"
ItemsSource="{Binding FileInfo}">
</sf:SfDataGrid>
When I populate the collection the grid updates properly...but the columns don't resize to accommodate the cell contents. I can manually adjust the widths, by clicking and dragging in the header, but I'd like to avoid having to do that.
What do I need to do to accomplish this?