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
170
disable xamWebgrid's Scroll Bars
posted

Hi

How can we disable both scrollbar of the xamwebgrid.

dont want to show this scrollbars

  • 2180
    Offline posted

    Hi,

    The vertical/horizontal scrollbar in xamGrid control appears if the data content exceeds the height and/or the width of the xamGrid or its parent container. If you have not set width/height of the xamGrid (or its parent container) and data fits, there will be no scrollbars. In case there are many data rows and columns, the scrollbars will appear in order to scroll through all rows and columns.

    Another way to navigate through a large set of data in xamGrid control is to use paging instead of vertical scrollbar.

    <Grid x:Name="LayoutRoot" Background="White">

      <ig:XamGrid x:Name="igGrid">

        <ig:XamGrid.PagerSettings>

          <ig:PagerSettings AllowPaging="Bottom" PageSize="5" />

        </ig:XamGrid.PagerSettings>

      </ig:XamGrid>

    </Grid>