I am using the GridCellSelectionController so i can select individual cells:
public MainWindow()
{
DataContext = new MainModel();
InitializeComponent();
Table2.SelectionController = new GridCellSelectionController(Table2);
}
Here is my table configuration:
<syncfusion:SfDataGrid Grid.Row="2"
Name="Table2"
LiveDataUpdateMode="AllowDataShaping"
ItemsSource="{Binding Path=Collection2}"
Columns="{Binding Path=Columns, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
RowSelectionBrush="#55FFFF33"
EditorSelectionBehavior="SelectAll"
SelectionUnit="Row"
NavigationMode="Cell"
SelectionMode="Extended"
AllowDraggingColumns="True"
AllowResizingColumns="True">
<syncfusion:SfDataGrid.SortColumnDescriptions>
<syncfusion:SortColumnDescription ColumnName="Time" SortDirection="Descending"></syncfusion:SortColumnDescription>
</syncfusion:SfDataGrid.SortColumnDescriptions>
</syncfusion:SfDataGrid>
Steps to reproduce:
- Select a group of cells
- Scroll down
- There will be cells highlighted that weren't selected
See attached pictures