The version that you requested is unavailable. We've redirected you to the latest version of the help.
Version

Please note that this control has been retired and is now obsolete to the XamDataGrid control, and as such, we recommend migrating to that control. It will not be receiving any new features, bug fixes, or support going forward. For help or questions on migrating your codebase to the XamDataGrid, please contact support.

Enable Deferred Scrolling

By default deferred scrolling is not enabled on xamGrid. To enable or disable deferred scrolling, you simply set the DeferredScrollingSettings object’s AllowDeferredScrolling property to one of the following values of the Deferred ScrollingType enumeration:

  • Default – this value enables deferred scrolling and the default template will be displayed

  • None – this value disables deferred scrolling

The DefaultColumnKey property allows you to set which column’s information you want to display as your end user scrolls through the data. If you do not set this property, then the first column in your data set is displayed.

The following code demonstrates how to enable deferred scrolling.

In XAML:

<Grid x:Name="LayoutRoot" Background="White">
    <ig:XamGrid x:Name="MyGrid" AutoGenerateColumns="True">
        <ig:XamGrid.DeferredScrollingSettings>
            <ig:DeferredScrollingSettings AllowDeferredScrolling="Default" DefaultColumnKey="ProductName" />
         </ig:XamGrid.DeferredScrollingSettings>
       ...
    </ig:XamGrid>
</Grid>

In Visual Basic:

Me.MyGrid.DeferredScrollingSettings.AllowDeferredScrolling = DeferredScrollingType.Default
Me.MyGrid.DeferredScrollingSettings.DefaultColumnKey = "ProductName"

In C#:

this.MyGrid.DeferredScrollingSettings.AllowDeferredScrolling = DeferredScrollingType.Default;
this.MyGrid.DeferredScrollingSettings.DefaultColumnKey = "ProductName";