Planned
Last Updated: 17 Dec 2020 21:26 by ADMIN
Scheduled for 2.22.0
René
Created on: 19 Feb 2020 17:05
Category: Grid
Type: Feature Request
11
Select rows only with checkboxes (clicking the rows to not affect selection)
At the moment, clicking a row always alters the selection. I want to use only the GridCheckboxColumn for selection so row clicks don't change it.
13 comments
Giuseppe
Posted on: 04 Dec 2020 07:27

Hi Marin

 

I'm fine if this can be done via an option.

As long as it behaves like the ASP.NET Core Grid https://demos.telerik.com/aspnet-core/grid/checkbox-selection.

Have a good day

Giuseppe

ADMIN
Marin Bratanov
Posted on: 03 Dec 2020 16:57

Hello Giuseppe,

Thank you for adding your vote and for your feedback.

The most common case is that the row should still let people select, and it should be an option to prevent that. That's what this item is for. I don't expect that adding the selection column will automatically stop the row selection on click anywhere in the row.

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Giuseppe
Posted on: 03 Dec 2020 16:47

Hi Marin

 

We are also facing the same issue. Therefore I upvoted the feature. When there's a Checkbox column,  the selection should exclusively work over the checkbox. Clicking anywhere else should not affect the selection.

It was implemented like that in the ASP.NET Core Version and we were quiet happy with it :-)

Best

Giuseppe

ADMIN
Marin Bratanov
Posted on: 20 Aug 2020 18:36

To leave here another possible workaround - using a RowTemplate can also prevent the selection on row click, but you have to implement the selection checkbox yourself (example here).

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

René
Posted on: 06 Jul 2020 07:49

Three reasons why this feature is important (and should be voted up by fellow users):

1. If you have a link in a cell opening a popup with some further information and the user needs that information to decide whether or not to select this line, he has to start selecting all over again after clicking the link.

2. Cells can have buttons in them and users don't expect the selection to be altered upon a button-click

3. If you are working with multiple windows you sometimes click somewhere on a window just to get the focus back to that window.  Even this alters the selection.

All this is making users mad - so if you read this, please vote up this feature request.

ADMIN
Marin Bratanov
Posted on: 03 Jul 2020 10:58

Let's track this in its own dedicated page: https://feedback.telerik.com/blazor/1474712-clicking-a-non-editable-cell-in-incell-edit-mode-alters-row-selection

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
René
Posted on: 03 Jul 2020 10:09

Hello Marin,

unfortunately the bug described below (Even with Incell-Editing enabled a click on a row selects it (and deselects the previous selection).  This even happens upon clicking on a button or a link!) is back with 2.15.0.
It had been fixed with 2.11.0 but now it is back.

Please fix this as soon as possible.  My users are getting mad at having this problem again.

Regards,

René

René
Posted on: 06 Apr 2020 16:07

Hello Marin,

thanks for scheduling the bugfix for 2.11.0

Regards,

René

ADMIN
Marin Bratanov
Posted on: 06 Apr 2020 15:53

Hi René,

I made a separate page for that because I am not sure both will be implemented together. Here's the new one for this issue: https://feedback.telerik.com/blazor/1460737-opening-cells-for-editing-incell-edit-mode-alters-row-selection-in-2-10-0

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
René
Posted on: 06 Apr 2020 06:39

With 2.10.0 my workaround described below does not work anymore.  Even with Incell-Editing enabled a click on a row selects it (and deselects the previous selection).  This even happens upon clicking on a button! The only click that does not alter the selection is a click performed on an editable cell.  But when clicking on the save or cancel button for the incell-edit, the selection is altered.  This has not been the case with 2.8.0 (I don't know about 2.9.0 because I skipped that version).

Please don't tell me this is a feature!  At least with Incell-Editing enabled the Selection should only change using the Checkbox-Column!

ADMIN
Marin Bratanov
Posted on: 03 Mar 2020 09:11

Hi,

The downside of such a workaround is that you would lose the editing capabilities of the grid. You could, however, add a custom edit form through a button (see here and here).

You may also try to get some custom logic implemented in a fashion similar to this project.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
René
Posted on: 03 Mar 2020 07:59

Here is a workaround for all those who cannot live with the current behaviour (like me):

1. For TelerikGrid set

EditMode="@GridEditMode.Incell"

2. For all  GridColumns set

Editable="false"


René
Posted on: 20 Feb 2020 07:16
Users get really mad if they multiselected whatever they want and by accidentally clicking on some row remove the whole selection and they have to start all over again !