Hi Silvio,
well I think it is possible by using the GridTemplateColumn:
<Syncfusion:SfDataGrid x:Name="customersSfDataGrid" Margin="10" AutoGenerateColumns="False" RowHeight="80" AllowResizingColumns="True">
<Syncfusion:SfDataGrid.Columns>
<Syncfusion:GridImageColumn HeaderText="Bild" MappingName="Image" AllowSorting="False" />
<Syncfusion:GridTemplateColumn HeaderText="Details" AllowSorting="False" >
<Syncfusion:GridTemplateColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding Abteilung}" FontWeight="Bold" FontSize="16" />
<TextBlock Text="{Binding Vorname}" FontStyle="Italic" FontSize="14" />
<TextBlock Text="{Binding Phone}" />
</StackPanel>
</DataTemplate>
</Syncfusion:GridTemplateColumn.CellTemplate>
</Syncfusion:GridTemplateColumn>
</Syncfusion:SfDataGrid.Columns>
</Syncfusion:SfDataGrid>
Looks like this:
Best regards
Steve
<Syncfusion:GridTemplateColumn HeaderText="Details" AllowSorting="False" MappingName="Details" >
<Syncfusion:GridTemplateColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding Abteilung}" FontWeight="Bold" FontSize="16" />
<TextBlock Text="{Binding Vorname}" FontStyle="Italic" FontSize="14" />
<TextBlock Text="{Binding Phone}" />
</StackPanel>
</DataTemplate>
</Syncfusion:GridTemplateColumn.CellTemplate>
</Syncfusion:GridTemplateColumn> |
Thank you guys for your help!
Silvio