Hi,
i have a problem with SfDataGrid.
I try to scroll nested datagrid with mouse wheel but not working.
I have this xaml code
<syncfusion:SfDataGrid AutoGenerateColumns="True" x:Name="MessagesDataGrid" Grid.Row="1" ItemsSource="{Binding AnalyzeReturnValue.ValidMessages}"> <syncfusion:SfDataGrid.DetailsViewDefinition> <syncfusion:TemplateViewDefinition RowTemplate="{StaticResource ExpirationsRowTemplate}"/> </syncfusion:SfDataGrid.DetailsViewDefinition> </syncfusion:SfDataGrid>
And this datatemplate
<DataTemplate x:Key="detailsRowTemplate"> <syncfusion:SfDataGrid x:Name="DetailsDataGrid" ColumnSizer="Star" Grid.Row="1" ItemsSource="{Binding Data.Details.Items}" AutoGenerateColumns="True"> </syncfusion:SfDataGrid> </DataTemplate> <DataTemplate x:Key="ExpirationsRowTemplate"> <ItemsControl ItemsSource="{Binding Data.Expirations.Items}"> <ItemsControl.ItemTemplate> <DataTemplate> <Grid> <Grid.RowDefinitions> <RowDefinition Height="30"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <TextBlock Text="{Binding Date}" Grid.Row="0"/> <syncfusion:SfDataGrid x:Name="GroupsDataGrid" ColumnSizer="Star" Grid.Row="1" ItemsSource="{Binding Groups.Items}" AutoGenerateColumns="True"> <syncfusion:SfDataGrid.DetailsViewDefinition> <syncfusion:TemplateViewDefinition RowTemplate="{StaticResource detailsRowTemplate}"/> </syncfusion:SfDataGrid.DetailsViewDefinition> </syncfusion:SfDataGrid> </Grid> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </DataTemplate>
I expand the first row and i see two datagrid (is ok), then i expand the first datagrid and i not see all 10 rows but i see only 3 rows and a vertical scrollbar. If i scroll the parent grid with mouse wheel in the blank space all rows became visible. If i scoll again the datagrid scroll to next parent result and i not see the others 7 child rows.
If i try to scroll with mouse wheel inside the child grid (with 10 rows) nothing appening and the parent or child grids not scroll
Help me please
Hi Luca,
We are currently checking your reported problem with the provided information from our end. We
will validate and update you with further details on or before June 06, 2022.
We appreciate your patience until then.
Regards,
Vijayarasan S
Hi Luca,
We deeply regret for the delay and inconvenience caused.
We are still working on this. So, we need two more business days to validate
this. We will validate and update you with further details on or before June 08,
2022.
We appreciate your patience until then.
Regards,
Vijayarasan S
Hi Luca,
We deeply regret for the delay and inconvenience caused.
We are still working on this. So, we need two more business days to validate this. We will validate and update you with further details on or before June 10, 2022.
We appreciate your patience until then.
Regards,
Vijayarasan S
Hi Luca,
Currently, SfDataGrid does not have support to update parent grid scrollbar
based content loaded in TemplateViewDefinition. We have analyzed and considered
your requirement of “Provided the support to update parentgrid scrollbar based
content loaded in TemplateViewDefinition Validated Private” in SfDataGrid and
logged a feature request for the same. We will implement this feature in any of
our upcoming releases.
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then.
Thank you for requesting this feature and helping us define it. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts.
Feedback link: https://www.syncfusion.com/feedback/35591/provided-the-support-to-update-parentgrid-scrollbar-based-content-loaded-in
If you have any more specification/suggestions to the
feature request, you can add it as a comment in the portal and cast your vote
to make it count.
Regards,
Vijayarasan S