Selection issue after column freezing

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?


7 Replies

SB Sweatha Bharathi Syncfusion Team December 21, 2023 09:56 AM UTC

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,

  • Provide your Syncfusion version.
  • Provide the details about your customization, if you are doing anything related to selection or frozen columns.


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.


Attachment: GridControlDemo_2739296a.zip


EQ EQusJin December 21, 2023 11:35 AM UTC

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


Attachment: GridControlDemo_ExcelLikeSelectionFrame_feb9b51e.zip


SB Sweatha Bharathi Syncfusion Team December 22, 2023 02:22 PM UTC


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.



DD Dhivyabharathi Dakshinamurthy Syncfusion Team December 26, 2023 04:58 PM UTC

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




DD Dhivyabharathi Dakshinamurthy Syncfusion Team December 28, 2023 06:22 PM UTC

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



SB Sweatha Bharathi Syncfusion Team January 2, 2024 02:49 PM UTC

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.




DD Dhivyabharathi Dakshinamurthy Syncfusion Team January 29, 2024 04:21 AM UTC

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


Loader.
Up arrow icon