I have a Grid with a GridViewSelectColumn at the first position. The Grid is set to SelectionMode.Extended. When I click a row it get's selected and the CheckBox from the SelectedColumn gets checked. Is there any possibility to prevent the CheckBox getting checked, when just the row is clicked and only chechking the Box when it is clicked, itself?
Thanks for your help!
Jonas
9 Answers, 1 is accepted
Generally, the IsChecked property of the CheckBox-es in the GridViewSelectColumn is bound to the IsSelected property of the corresponding row. Consequently, once the row is clicked upon, i.e. is selected, the CheckBox is checked. If you still want to use the functionality of the select column, you may set the CanUserSelect property of the grid to 'false".
All the best,
Maya
the Telerik team
In general, the performance of the selection should not be affected for such small amount of items.
Can you please provide more information on your project setup, so I can try finding a possible cause for such behavior?
Regards,
Stefan X1
Telerik by Progress
If I have small amount of rows in grid like 4 or 5 as well as small amount of columns like 3 or 4 then the selection will be very fast. But if I have huge amount of rows like 40 or 50 and huge amount of columns like 13 or 15 then the selection will be pretty slow. Means if I select on row with multi select checkbox then it will take around .5 sec and if I select all the rows then it will take around 4 seconds.
So I think the amount of rows and columns could be the issue for this slow performance because wherever I have small amount of columns and rows , it's working fine .
Please find a solution for that.
If I have small amount of rows in grid like 4 or 5 as well as small amount of columns like 3 or 4 then the selection will be very fast. But if I have huge amount of rows like 40 or 50 and huge amount of columns like 13 or 15 then the selection will be pretty slow. Means if I select on row with multi select checkbox then it will take around .5 sec and if I select all the rows then it will take around 4 seconds.
So I think the amount of rows and columns could be the issue for this slow performance because wherever I have small amount of columns and rows , it's working fine .
Please find a solution for that.
Actually, RadGridView is intended to be used without performance degradation with a lot more items than 40 or 50. Based on the provided information, however, I can only guess what the cause of the behavior you are experiencing might be. Would it be possible for you to share how RadGridView is defined and how the selection is implemented, so I can try to replicate the behavior locally?
Best Regards,
Stefan X1
Telerik by Progress