Results 1 to 2 of 2

Thread: Disable TreeViewDragDrop programatically

  1. #1
    Sencha Premium Member
    Join Date
    Jul 2015

    Default Disable TreeViewDragDrop programatically

    I need to create a button that enables / disables this in runtime.
    I tried setting enableDrag = false -> nop effect.
    I tried the destroy() method -> it disables the drag drop but there is a js exception everytime I try to drag and I cant enable it back again. (Uncaught TypeError: Cannot read property 'dom' of null)

    Please help ASAP.

  2. #2
    Sencha - Sustaining Engineer tristan.lee's Avatar
    Join Date
    Mar 2015
    Central Ohio


    What version of the framework are you using? The solution I posted in the other thread works well on 4.2.3 without errors.
    Tristan Lee
    Sencha Inc - Sustaining Engineer

    Having an issue? Help us help you - be detailed; provide some code; demonstrate with a fiddle (

    Embed your fiddle in your post: [FIDDLE]id[/FIDDLE]

Similar Threads

  1. How to disable a button in a cell programatically
    By goekhansari in forum Sencha GXT Q&A
    Replies: 0
    Last Post: 30 Jun 2014, 1:48 AM
  2. Replies: 2
    Last Post: 17 Dec 2012, 8:17 AM
  3. TreeViewDragDrop bug
    By glenho in forum Ext: Q&A
    Replies: 1
    Last Post: 15 Oct 2012, 5:42 AM
  4. Replies: 2
    Last Post: 15 May 2012, 4:47 AM
  5. treeviewdragdrop disable root node drops
    By dwb in forum Ext: Q&A
    Replies: 2
    Last Post: 8 Mar 2012, 4:40 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts