This is a migrated thread and some comments may be shown as answers.
Select row on click without deselecting others
5 Answers 27 Views
This is a migrated thread and some comments may be shown as answers.
Dickie
Top achievements
Rank 1
Dickie asked on 07 Apr 2011, 02:34 PM
I'm having a problem with the RadGrid GridSelectColumn where if the user misses the checkbox by a single pixel, it deselects the rest of the items they've selected and selects just that one row. I realize this is because clicking a row selects only that row by default, but I was wondering if there was some way that I could make it so that clicking anywhere in the cell with the checkbox would work the same as clicking the checkbox.

5 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 07 Apr 2011, 03:08 PM
Hello,

I suggest tha you examine the code library below and let me know if it helps to achieve the desired functionality:
http://www.telerik.com/community/code-library/aspnet-ajax/grid/how-to-select-multiple-items-without-holding-the-ctrl-key.aspx

Best wishes,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Dickie
Top achievements
Rank 1
answered on 07 Apr 2011, 04:34 PM
That works nicely for what I need except I was wondering if there was a way to make clicking the row again deselect it.
0
Pavlina
Telerik team
answered on 07 Apr 2011, 04:38 PM
Hi Dickie,

How to select/deselect rows on clicking it in Internet Explorer, without interfering the other selected rows is demonstrated in the following link:
http://www.telerik.com/community/code-library/aspnet-ajax/grid/selecting-deselecting-rows-on-clicking-row-itself-and-without-interfering-selected-items.aspx

Greetings,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Borja
Top achievements
Rank 1
answered on 17 Mar 2017, 08:28 AM
Can't find the link, any update on this?
0
Pavlina
Telerik team
answered on 22 Mar 2017, 11:09 AM
Hello,

Indeed the link provided in the previous post is no longer working. However, you can refer to the article below which demonstrates how you can prevent deselecting of items once you click on a row:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/Selecting/prevent-auto-deselecting-of-items

Regards,
Pavlina
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Dickie
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Dickie
Top achievements
Rank 1
Borja
Top achievements
Rank 1
Share this question
or