I don't understand how the row/column selection is working. If I have two header rows, it seems to only properly select multiple columns if I use the first header row.
For example, if I fill my grid as below, and I mouse down on "Row0 Col3" and drag to "Row0 Col4", it selects both column 3 and 4. If I then ctrl click on "Row0 Col6", it selects column 6 in addition to 3 and 4.
If, on the other hand, I mouse down on "Row1 Col3" (which is still a fixed header cell) and drag to "Row1 Col4", only column 3 is selected. If I then ctrl click on "Row1 Col6", it deselects column 3, and only column 6 is selected.
The HeaderColumns have the same problem, although there I can make two row selections, but then the third one resets the selection.
I don't understand why the first and second header rows or header columns are treated differently. A click on any header should be the same, in my opinion.
Grid init code:
this.sfGrid.AllowDragColumns = false;
this.sfGrid.Model.Options.ActivateCurrentCellBehavior = Syncfusion.Windows.Controls.Grid.GridCellActivateAction.DblClickOnCell;
this.sfGrid.Model.RowCount = 100;
this.sfGrid.Model.ColumnCount = 20;
this.sfGrid.Model.HeaderColumns = 2;
this.sfGrid.Model.HeaderRows = 2;
this.sfGrid.Model.FrozenColumns = 2;
this.sfGrid.Model.FrozenRows = 2;
this.sfGrid.Model.Options.AllowSelection = Syncfusion.Windows.Controls.Grid.GridSelectionFlags.Row | Syncfusion.Windows.Controls.Grid.GridSelectionFlags.Column | Syncfusion.Windows.Controls.Grid.GridSelectionFlags.Cell | Syncfusion.Windows.Controls.Grid.GridSelectionFlags.Multiple;
for (int i = 0; i < 100; i++)
{
for (int j = 0; j < 20; j++)
{
this.sfGrid.Model[i, j].CellValue = string.Format("Row{0} Col{1}", i, j);
}
}