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

Chage selectable property on grid

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
KendoUser
Top achievements
Rank 1
KendoUser asked on 19 Jun 2012, 04:14 PM
Initially I have the selectable property on my grid set to multiple. But when a user double clicks a particular cell in that grid , I want to set this property to "cell" . Is there a way to do this?

Thanks.

1 Answer, 1 is accepted

Sort by
0
KendoUser
Top achievements
Rank 1
answered on 19 Jun 2012, 06:50 PM
I can set the selectable value for the grid using:

var grid = $grid.data("kendoGrid");
grid.options.selectable = "cell";  
grid.refresh();

But even after doing a refresh , the changes are not reflected in the grid. Is there something else I need to do for the changes to take effect?

Thanks.
   
Tags
Grid
Asked by
KendoUser
Top achievements
Rank 1
Answers by
KendoUser
Top achievements
Rank 1
Share this question
or