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

Disable rectangle selection

2 Answers 57 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Sharon
Top achievements
Rank 1
Sharon asked on 17 Jun 2015, 12:31 PM

hello,

 Is there any way to disable rectangle selection in list view with multiple selection parameter?

of course, i still want to use (shift/ctrl) key selection.

 thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
T. Tsonev
Telerik team
answered on 19 Jun 2015, 01:09 PM
Hi,

I'm copying the response to your support ticket for community reference.

There's no built-in option to disable the rectangular selection.

For the moment you can use the following code to disable the event handlers used to implement it:
  var ue = $("#listView").getKendoListView().selectable.userEvents;
  ue.unbind("start");
  ue.unbind("move");
  ue.unbind("end");


I hope this helps.
 


Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sharon
Top achievements
Rank 1
answered on 21 Jun 2015, 01:48 PM

It works,
thank you!

Tags
ListView
Asked by
Sharon
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Sharon
Top achievements
Rank 1
Share this question
or