i see there are a few methods to reorder columns.
i am trying to figure out how to simply reorder all columns in a specific order
something like
<SfGrid @ref="Grid" DataSource="@Orders" Height="315" AllowReordering="true">
<GridColumns>
<GridColumn Field=@nameof(OrderDetails.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="100"></GridColumn>
<GridColumn Field=@nameof(OrderDetails.CustomerID) HeaderText="Customer ID" Width="100"></GridColumn>
<GridColumn Field=@nameof(OrderDetails.ShipCity) HeaderText="Ship City" Width="100"></GridColumn>
<GridColumn Field=@nameof(OrderDetails.ShipRegion) HeaderText="Ship Region" Width="100"></GridColumn>
<GridColumn Field=@nameof(OrderDetails.ShipName) HeaderText="Ship Name" Width="120"></GridColumn>
</GridColumns>
</SfGrid>
List<string> ColumnNames = (new List<string> { "ShipName", "CusrtomerId", "ShipCity", "OrderID", "ShipRegion" });
Grid.ReorderColumns(ColumnNames)
the one i see (ReorderColumnsAsync) requires a column to insert before