Select Text for Copy/Paste with Multiple Row Select Enabled

2 posts, 0 answers
  1. Anthony
    Anthony avatar
    7 posts
    Member since:
    Oct 2013

    Posted 19 Feb 2016 Link to this post

    In my search to resolve an issue I'm having, I found this post:



    How do we set the EnableDragToSelectRows property to false using the Telerik UI for ASP.NET MVC (powered by Kendo UI) grid?  I have this applied:


    .Selectable(selectable => selectable.Mode(GridSelectionMode.Multiple))


    ...and need to disable the marquee select so the users can select and copy text.  Thank you!


  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2308 posts

    Posted 22 Feb 2016 Link to this post

    Hello Anthony,

    This forum thread is very old and is related to the UI for ASP.NET AJAX Grid, not the Kendo UI Grid. The current behavior is not supported in the Kendo UI Grid - if the selection is set to multiple, the Grid will provide both option - click and drag for selection.

    A possible workaround would be to disable the selection and manually attach a click handler to the Grid rows, that will add the k-state-selected CSS class to them.

    $("#grid").on("click", "tr[role='row']", function(){

    In this case you could retrieve the selected rows via jQuery, instead of using the built in select() API method.
    var selected = $("#grid tbody tr.k-state-selected");

    Dimiter Madjarov
    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 Feedback Portal and vote to affect the priority of the items
Back to Top