We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Events from "details" datagrid not firing?

Thread ID:





124275 May 29,2016 10:49 AM UTC May 30,2016 06:01 AM UTC UWP 1
Tags: SfDataGrid
Duane Eitzen
Asked On May 29, 2016 10:49 AM UTC

For my windows 10 UWP app: I have a master-details arrangement of two datagrids. I am adding events handlers for the "Loaded" events for both datagrids in my xaml.  The event does fire for the master datagrid but not for the details datagrid (I am showing the details for a particular row).

The other events from the details table are also not firing. I was intending to use this event handler to set the size of a row in the details datagrid. 

Here is a minimal example (ChoicesTable_Loaded is never called).

<syncfusion:SfDataGrid x:Name="OuterTable" 
            ItemsSource="{Binding OuterList}"
            Margin="87,98,79,136" AutoGenerateColumns="True" Loaded="OuterTable_Loaded">
                <syncfusion:GridViewDefinition RelationalColumn="InnerList">
                        <syncfusion:SfDataGrid x:Name="ChoicesTable"
                                        ItemsSource="{Binding InnerList}"

Any ideas? Thanks.

Srinivasan Vasu [Syncfusion]
Replied On May 30, 2016 06:01 AM UTC

 Hi Duane, 
Thanks for contacting Syncfusion support. 
We have analyzed your query and you have to use SfDataGrid.DetailsViewLoading or SfDataGrid.DetailsViewExpanded events in parent DataGrid instead of using DetailsViewDataGrid.Loaded event. 
Please refer the below code example. 
                               ItemsSource="{Binding Path=OrdersDetails}" 
                               ItemsSource="{Binding Path=OrdersDetails}" 
Sample Location: DetailsViewDataGrid 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon