RadGridView WinForms missing selected cells

2 Answers 31 Views
GridView
Evaristo
Top achievements
Rank 1
Evaristo asked on 08 Apr 2024, 08:29 AM

Hi, 

I'm using RadGridView version 2022.1.222.40.

When the data table I'm using has a lot of data (15.000 for example), when I select an entire column, the cells in SelectedCells collection are normally less than 15.000 (it could be 14996 or 14997) in the SelectionChanged event. With less than 10.000 it seems that works correctly. 

Is there a bug for selected cells when the RadGridView shows more than 10.000 elements?

Regards, 

Evaristo Cuesta.

Evaristo
Top achievements
Rank 1
commented on 08 Apr 2024, 03:09 PM | edited

This behavior occurs with VirtualMode = true and VirtualMode = false.

2 Answers, 1 is accepted

Sort by
1
Accepted
Nadya | Tech Support Engineer
Telerik team
answered on 12 Apr 2024, 05:53 AM

Hello, Evaristo,

The provided project in the referred github repository is greatly appreciated. 

I was able to reproduce the same behavior as you described. I confirm that the count of SelectedCells is not correct when there are more than 20,000 PEOPLE_COUNT. Therefore, I have logged it on your behalf in our Feedback Portal. Here is the feedback item for your reference. You can add your comments, vote for it and subscribe for the item in order to receive notifications.

I have updated your Telerik Points for reporting this.

I have tested the SelectedRows property as well and it is working correctly. However, in this case the SelectionMode should be FullRowSelect, rather that CellSelect. 

If you have any other questions do not hesitate to contact us.

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Evaristo
Top achievements
Rank 1
commented on 12 Apr 2024, 06:32 AM

Thank you Nadya!
0
Nadya | Tech Support Engineer
Telerik team
answered on 09 Apr 2024, 12:38 PM

Hello, Evaristo,

Following the provided information I was not able to reproduce the problem that you described. Is it possible to provide a sample project that mimics your setup and demonstrates the exact problem there? Also, how exactly do you select an entire column? Do you have any special implementation for this? It would be of great help if you could demonstrate your setup in a separate project. Thus, we could be able to investigate it more precisely. 

In addition, if your case requires showing and working with large amounts of data I would recommend you to take a look at RadVirtualGrid which is intended to work with large data: VirtualGrid - RadVirtualGrid - Telerik UI for WinForms

I am looking forward to your reply.

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Evaristo
Top achievements
Rank 1
commented on 09 Apr 2024, 03:34 PM | edited

Hello Nadya, 

Thank you for your answer. 

You can view an example in https://github.com/evaristocuesta/SelectedCellsGridViewTelerikBug

To reproduce the issue:

  1. Click the first cell of a column
  2. Scroll down and press Shift key and click the last cell of the column
  3. Check that total rows label is 20.000 but selected cells label is less than 20.000

Regards,
Evaristo Cuesta. 

 

Evaristo
Top achievements
Rank 1
commented on 10 Apr 2024, 07:46 AM

Screenshot
Tags
GridView
Asked by
Evaristo
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or