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

SfDataGrid DetailsView update

Thread ID:





114774 Dec 7,2013 04:00 PM UTC Dec 11,2013 12:49 PM UTC WPF 1
Tags: GridControl
Asked On December 7, 2013 04:00 PM UTC

I have a SfDataGrid.

Usually "Children" property is empty ObservableCollection<...>
And expand-marker is hidden (HideEmptyGridViewDefinition="True");
But sometimes some entities was added in "Children".
And expand-marker is stay be hidden((( And it's appears only when I scroll or resize window (grid).
Can I invalidate grid in this case? Or can I swich some property that grid was updating properly?

<sf:SfDataGrid x:Name="grid"
                   ItemsSource="{Binding Items}"
            <sf:GridViewDefinition RelationalColumn="Children">
                    <sf:SfDataGrid x:Name="FirstDetailsViewGrid">

Jai Ganesh S [Syncfusion]
Replied On December 11, 2013 12:49 PM UTC

Hi Pavel,


Thanks for using Syncfusion products,


We have analyzed your query. We are able to reproduce the reported issue by not refreshing UI when adding the ItemSource to the children. However, you can meet your requirement  by writing the UpDateDataRow() method when calling the ItemSource. Please find the following code snippet to illustrate this:


Code Snippet [ Xaml]:



using Syncfusion.UI.Xaml.Grid.Helpers;





Please let us know if you need further assistance,


Thank you,

Jai Ganesh S


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

or the page will be automatically redirected to 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