I am using gridcontrol in winforms.
After creating the rows and columns, I froze 5 columns as shown in the code below.
GridControl
.Cols.FrozenCount = 5;
The selection expands to the left based on FrozenCount.
For example, if you select cell B5, the selection will extend from B5 to E5.
When unfreezing, only one cell is selected at a time.
How do I select only one cell at a time even after freezing the column?
Hi EQusJin,
We have analyzed your query. We followed the information you provided, but we were unable to replicate your scenario. When I select cell B5, the selection will not extend from B5 to E5; the selection will be applied to only cell B5.
Kindly provide the below details,
We have provided a sample for your reference; please review the sample. If possible, try to replicate your scenario with our provided sample. This will help us proceed further.
I found the cause of the problem
When I set the ExcelLikeSelectionFrame property of the grid to true, the problem I asked about appears.
I am attaching ExcelLikeSelectionFrame to true to the example source you provided.
Thank you for your reply
EQusJin,
Currently we are analyzing the reported scenario. We need to analyze this
further on our source level and will provide an further update on December 26,
2023.
Hi EQusJin,
We regret for inconvenience,
Currently we are still analyzing the reported scenario. We need more time to validate in the source level and will provide an further update on December 28, 2023.
Regards,
DhivyaBharathi Dakshinamurthy
Hi EQusJin,
We analyzed the reported scenario at the source level. When the count of frozen rows/columns is provided to the Grid Control, the range of frozen cells is not updated in the VisibleCellsRange.
As a result, the selection does not update properly. We need more time to analyze the behavior of this visible range when frozen rows/columns are applied.
We will update the further details on or before January 2, 2024.
Regards,
DhivyaBharathi Dakshinamurthy
Hi EQusJin,
We have checked the reported issue “ExcelLikeCurrentCell expands across the freeze panes when freezing a column or row” on our end and it is confirmed as a defect. And We have logged a bug. We will fix this issue and include it in our NuGet release Which is scheduled on January 23, 2024.
You can track the status of this report through the following feedback link,
Feedback Link: https://www.syncfusion.com/feedback/49624/excellikecurrentcell-expands-across-the-freeze-panes-when-freezing-a-column-or-row
Note: The provided feedback link is private, and you need to log in to view this feedback.
We will let you know once it is released. We appreciate your patience until then.
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
Hi EQusJin,
We would like to let you know that Essential Studio Weekly NuGet packages (v24.1.47) has been published in nuget.org with the fix for the issue “ExcelLikeCurrentCell expands across the freeze panes when freezing a column or row”. Please let us know if you have any concerns in this.
Regards,
DhivyaBharathi Dakshinamurthy