Hello,
I am trying to see if it is possible to display multiple detailViews opposed to having them show up stacked as they do in the default configuration. Is this possible to edit a custom template of the dataGrid? If so does any supporting documentation exist to do this?
Thanks,
Jordan
|
<Window.Resources>
<DataTemplate x:Key="DetailsViewTemplate">
<Grid>
<TabControl>
<TabItem Header="Datagrid1">
<syncfusion:SfDataGrid x:Name="FirstDetailsViewGrid" ItemsSource="{Binding Data.OrderDetails}" ColumnSizer="Star">
</syncfusion:SfDataGrid>
</TabItem>
<TabItem Header="Datagrid1">
<syncfusion:SfDataGrid x:Name="SecondDetailsViewGrid" ItemsSource="{Binding Data.SalesDetails}" ColumnSizer="Star">
</syncfusion:SfDataGrid>
</TabItem>
</TabControl>
</Grid>
</DataTemplate>
</Window.Resources>
<syncfusion:SfDataGrid.DetailsViewDefinition>
<syncfusion:TemplateViewDefinition RowTemplate="{StaticResource DetailsViewTemplate}"/>
</syncfusion:SfDataGrid.DetailsViewDefinition> |
Thank you so much for your help!
Cheers
Is there an example for same in sfdatagrid winform ? Thank you
Hi Jonathan Rogers,
Thank you for your response.
We would like to inform you
that we do not load controls in WinForms, so we cannot load multiple DetailView
grids in the WinForms DataGrid like the RecordTemplateView supports in the WPF
DataGrid.
For your reference, we have attached the user guide link for handling
"masterdetailsview."
https://help.syncfusion.com/windowsforms/datagrid/masterdetailsview
Thanks for your cooperation and understanding this.
Regards,
Santhosh.G