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
490
how to do a vertical grid (rows as columns)
posted

how to do a vertical grid (rows as columns). a sample of xaml would be great.

thanks

 

  • 54937
    Offline posted

    You can set the Orientation of XamDataGrid's GridViewSettings to Horizontal.

    e.g.

    <igDP:XamDataGrid>

        <igDP:XamDataGrid.ViewSettings>

            <igDP:GridViewSettings Orientation="Horizontal" />

        </igDP:XamDataGrid.ViewSettings>

    </igDP:XamDataGrid>

    Or if you are using a XamDataPresenter it would be:

    <igDP:XamDataPresenter>

        <igDP:XamDataPresenter.View>

            <igDP:GridView>

                <igDP:GridView.ViewSettings>

                    <igDP:GridViewSettings Orientation="Horizontal" />

                </igDP:GridView.ViewSettings>

            </igDP:GridView>

        </igDP:XamDataPresenter.View>

    </igDP:XamDataPresenter>