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

HideEmptyGridViewDefinitions hides nested rows that has data

Thread ID:





127376 Nov 10,2016 09:13 PM UTC Nov 12,2016 06:27 PM UTC UWP 2
Tags: SfDataGrid
David Harvey
Asked On November 10, 2016 09:13 PM UTC

I generate a Grid with HIdeEmptyGridViewDefinitions="False"

I can see all my rows, can click on the expander, and see nested data.

When I set HideEmptyGridViewDefinitions="True"

I can see all my rows, but can not click on the expander and can not see nested data (for ANY row!)

What exactly is being looked for to determine whether or not a GridView is indeed Empty or not?
(Obviously the one List() element I have in my object is populated otherwise it would not expand, as indicated above).

David Harvey
Replied On November 10, 2016 09:15 PM UTC

Grid:SfDataGrid Name="DataGrid" Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="4" Grid.RowSpan="2" Margin="10,10,10,0" ColumnSizer="Auto"
                         AutoGenerateColumns="True" AutoGenerateRelations="True" Grid:DetailsViewManager.DisableLastColumnResizing="True" ItemsSource="{Binding Positions}"
                         Background="#FF131313" Foreground="#FF1F46AE"
                         AllowResizingColumns="True" AllowDraggingColumns="True" HideEmptyGridViewDefinition="False" HeaderStyle="{StaticResource headerStyle}"
                         CellStyleSelector="{StaticResource cellColorSelector}"

Gnanasownthari Thirugnanam [Syncfusion]
Replied On November 12, 2016 06:27 PM UTC

Hi David, 

We have analyzed your query,  your reported issue has been working fine from our side. We have prepared the sample as per your scenario which is attached below and it is working fine in our side. The parent DataGrid row hides only the empty details view grids. Could you please look into the below sample and please modify as per your application. This would be more helpful for us to analyze further. 

Gnanasownthari T. 


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