By default, it is not possible to scroll one SfDataGrid through another. However, it can be achieved by using the ScrollChanged event of the SfDataGrid. You can wire the ScrollChanged event in the loaded event of the Datagrid1 like the following code example.
As given in the above code example, you can set the Horizontal or Vertical offset based on its corresponding Horizontal or Vertical change while scrolling. Likewise, you can wire the ScrollChanged event for Datagrid2 and set the Horizontal and Vertical offset.
Note: The above code example is only applicable for the WPF platform. For WinRT, UWP refer to the following link.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:||.NET Framework:|