We recommend that you use the xamDataGrid control instead of the xamGrid control. The xamGrid is being planned for retirement over the next few years and will not receive any new features. We will continue to provide support and critical bug fixes for the xamGrid during this time. For help or questions on migrating your codebase to the xamDataGrid, please contact support.
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:
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.
<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>
Me.MyGrid.DeferredScrollingSettings.AllowDeferredScrolling = DeferredScrollingType.Default
Me.MyGrid.DeferredScrollingSettings.DefaultColumnKey = "ProductName"
this.MyGrid.DeferredScrollingSettings.AllowDeferredScrolling = DeferredScrollingType.Default;
this.MyGrid.DeferredScrollingSettings.DefaultColumnKey = "ProductName";