TreeList Multi select and drag and drop

4 posts, 0 answers
  1. Sanjaya Kodagoda
    Sanjaya Kodagoda avatar
    10 posts
    Member since:
    Mar 2006

    Posted 25 Aug 2014 Link to this post


    I have created a treelist with treelist select column and allow multi select.

    1) When I have selected two nodes, if I select a node by clicking on the node it select that particular node. That behavior is correct.
    But when I click the checkbox(select column) it deselects that row. I want to select the row that user clicked irrespective of clicking on the node or
    checkbox (select column).


    2) I have enabled the dragging operation in the treelist. I want to know whether I can delay the start of dragging operation. It seems dragging is
    starting as soon as I try to select a node. I can see as user click on the row preview image of dragging node is visible. It disappears quickly. 
    But it is does not look nice. This happens with the node selection and slight movement of the mouse which makes start of drag operation

    I have attached some screenshots for reference

    Any help is highly appreciated.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 27 Aug 2014 in reply to Sanjaya Kodagoda Link to this post

    Hi Sanjaya Kodagoda,

    As for your first question the default behavior of the control is that it will select/deselect the item by clicking on both node and checkbox. The only situation is if trying to select the already selected item then it will deselect the item. This is the default behavior of the control.

    For your next question Unfortunately I couldn't replicate any issue. Please have a look into this online demo and try to replicate it here.

  3. Sanjaya Kodagoda
    Sanjaya Kodagoda avatar
    10 posts
    Member since:
    Mar 2006

    Posted 28 Aug 2014 in reply to Shinu Link to this post


    To replicate the second issue, just click the node with a little sliding when click the node. As it slide drag preview is just appear and disappear as mouse release. To prevent preview appear I wanted to delay the dragging operation.
  4. Kostadin
    Kostadin avatar
    1733 posts

    Posted 02 Sep 2014 Link to this post

    Hello Sanjaya,

    The drag started operation starts when you click and hold the left mouse button and start moving the mouse. I am afraid that you could not delay the operation as a couple of event are called at this moment and this might lead to unexpected behavior.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top