I've created form with SfDataGrid on it. This datagrid has SelectionMode set to Extended. Datagrid has 10 records and 4 columns. I'm moving current cell programmatically:
sfDataGrid1.MoveToCurrentCell(new RowColumnIndex(5, 0));Now when I hold SHIFT key and click on the last cell, only last row is selected (properly the selection should include rows from fifth to tenth).
The same happens when I try to do it this way:
sfDataGrid1.CurrentItem = sfDataGrid1.View.Rocords.GetItemAt(4);This behavior changes when I firstly click on the first cell in datagrid (even though it is already selected after launching my program). In this case, after moving current cell using code above and holding SHIFT key with clicking on the last cell causes that rows from first to tenth are selected (again the selection should include rows from fifth to tenth).
In both cases, the behavior is not as expected by the user.
Hi Chris,
Currently, we are analyzing your requirement of “Incorrect row selecting after
moving current item in datagrid”. So, we need two more business days to
validate this. We will validate and update you the details on or before
September 28, 2022.
We appreciate your patience and understanding.
Regards,
Vijayarasan S
Hi Chris,
We deeply regret for the delay and inconvenience caused.
We are still working on this. So, we need two more business days to validate this. We will update you with further details on September 30, 2022.
We appreciate your patience and understanding.
Regards,
Vijayarasan S
Hi Chris,
We have created a bug report for the reported issue “Extended selection is not
working properly when programmatically selecting the row or cell in SfDataGrid”.
We will fix this issue and include it in our Weekly NuGet release scheduled for
October 18, 2022.
You can track the status of this report through the following feedback link,
Feedback link: https://www.syncfusion.com/feedback/38128/extended-selection-is-not-working-properly-when-programmatically-selecting-the-row
Note: The provided feedback link is private, and you need to login to view this feedback.
We appreciate your patience until then.
Regards,
Vijayarasan S
Hi Chris,
We would like to let you know that
Essential Studio Weekly NuGet packages (v20.3.0.50) has been
published in nuget.org with the fix for the issue
“Extended selection is not working properly when programmatically selecting the
row or cell”. Please let us know if you have any concerns in this.
Regards,
Vijayarasan S