Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Display something under xamDataGrid
posted

Hello,

 I'm struggling to display a grid under XamDatagrid. When I set in the XamDatagrid i.e.:

                <igDP:XamDataGrid.ViewSettings>
                    <igDP:GridViewSettings HeightInInfiniteContainers="300" />
                </igDP:XamDataGrid.ViewSettings>

 the grid below is being displayed. Otherwise, xamDatagrid just fills the window completly. XamDatagrid's declaration starts as follows:

<igDP:XamDataGrid x:Name="xdgGrid" Margin="0,0,0,0" AutoFit="True" Visibility="Hidden">

Any ideas appreciated :)

  • 9694
    posted

    Are you saying you want to display a xamDataGrid above a Grid panel?

    You could place both in a Grid with percentages assigned to the two elements. Or you could place both in a StackPanel. For the StackPanel solution, you would need to assign a Height to the XamDataGrid. The first idea of placing both in a Grid with RowDefinitions defining what percentage of the space gets filled by the two elements is a better solution.