Hi,
Because of UI Virtualization, we are not generating all elements. When scrolling, we don't know how many elements there is until destination. The DataGrid would have to generate all elements until destination, which wouldn't be efficient. That's why it's not possible.
But it could work if Virtualization is deactivated. For this, you need to set ScrollViewer.CanContentScroll to False. With this, the ScrollViewer will ask the TableViewItemsHost to generate containers for all the elements from the data source. This way, the ScrollViewer will do pixel scrolling. But with this, all rows and cells will be generated. The bigger is the data source, the longer it will take to load or invalidate the measure.
――――
Get more controls, features, updates and technical support with Xceed Toolkit Plus for WPF
Because of UI Virtualization, we are not generating all elements. When scrolling, we don't know how many elements there is until destination. The DataGrid would have to generate all elements until destination, which wouldn't be efficient. That's why it's not possible.
But it could work if Virtualization is deactivated. For this, you need to set ScrollViewer.CanContentScroll to False. With this, the ScrollViewer will ask the TableViewItemsHost to generate containers for all the elements from the data source. This way, the ScrollViewer will do pixel scrolling. But with this, all rows and cells will be generated. The bigger is the data source, the longer it will take to load or invalidate the measure.
――――
Get more controls, features, updates and technical support with Xceed Toolkit Plus for WPF