This is a migrated thread and some comments may be shown as answers.

[Solved] Behavior of checkbox on a grid

1 Answer 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
carlg
Top achievements
Rank 1
carlg asked on 23 Mar 2012, 03:31 PM
Please see the following Telerik demo and pay special attention to the check boxes:

http://demos.telerik.com/aspnet-mvc/grid/editingbatch

It seems that if you want to check the check box, you need to click on the row and then click the check box.  Is there any way to do this with just one click?  Meaning I want to be on another row and then just click the check box of another row without clicking twice?

1 Answer, 1 is accepted

Sort by
0
Dadv
Top achievements
Rank 1
answered on 26 Mar 2012, 10:25 AM
Hi,

you could try something like this on the ondatabound event :

$("#Grid :checkbox").hover(
 
function () {
    $
(this).prop("disabled", false);   },
 
function () {
    $
(this).prop("disabled", true);
 
}
i wrote it directly, and didn't test it, but it is just to give you a track
Tags
Grid
Asked by
carlg
Top achievements
Rank 1
Answers by
Dadv
Top achievements
Rank 1
Share this question
or