Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hello,
I have found a problem that is bothering us in our development. We use a lot of data grids with some of the same columns. Therefore, we wanted to create separate components for these columns, which we can "enter" into the grids in a simplified way.
Our problem is that this behavior changes the order of the columns and the order after the render process does not correspond to the order in the code.
The following example shows our Issue
Home.razor:
<SfGrid TValue="Contact" DataSource="@contacts">
<GridColumns>
<GridColumn>
<Template>
<h3>Hello World </h3>
</Template>
</GridColumn>
<TestColumn/>
<GridColumn Field="@nameof(Contact.Id)" IsPrimaryKey="true"/>
<GridColumn Field="@nameof(Contact.Name)"/>
<GridColumn Field="@nameof(Contact.Email)"/>
<GridColumn Field="@nameof(Contact.City)"/>
<GridColumn Field="@nameof(Contact.Country)"/>
</GridColumns>
</SfGrid>
TestColumn.razor
@using Syncfusion.Blazor.Grids
<GridColumn>
<Template>
<h3>Hello World </h3>
</Template>
</GridColumn>

Although the custom component for the DataGrid is used in second place, the column is shown last in the DataGrid. The project is attached.
Is there a known workarround or solution if this is