Results 1 to 6 of 6

Thread: Delete a resizable

  1. #1

    Default Delete a resizable


    I dynamicly create a resizable on a div to resize it. It's work fine.

    Now, i'd like to remove/delete this resizable, without deleting the div on which it wac created.

    How can i do.


  2. #2

  3. #3


    Thanks Tim.

    it should help me but the better will be to remove from the dom the resizable and keep the element on which it was added.

    But your solution is good.


  4. #4
    Ext Premium Member
    Join Date
    Mar 2007

    Default Agreed, disabling isn't really good enough

    I too would like something that cleans up the dom, and right now I can't think of a way to do it without having to build something which depends on the internals of the Resizable implementation.

    In general, given the need for long-lived apps, it'd be nice to be able to undo any DOM manipulation reliably.


  5. #5
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    New York, NY


    It would be easier with a wrap:

    var rz = new Ext.Resizable({.... wrap:true});

    Then to remove it:

    var el = rz.getEl();

    You may also want to call removeAllListeners.

  6. #6


    thanks Jack.

    I'll try it and tel you the result of my test.

    Thanks again.

Similar Threads

  1. add/delete/rename tree nodes?
    By snod0g in forum Ext 1.x: Help & Discussion
    Replies: 10
    Last Post: 15 Oct 2011, 7:54 AM
  2. How to delete a row in an editable grid?
    By rossl58 in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 13 Mar 2011, 8:31 PM
  3. How do I add edit and delete function for each row in grid
    By burgleboy711 in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 13 Mar 2011, 8:30 PM
  4. determining dot/delete key in event
    By hicker in forum Ext 1.x: Bugs
    Replies: 0
    Last Post: 27 Mar 2007, 12:07 AM
  5. Delete key not triggered by Keymap
    By mabushadi in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 3 Feb 2007, 1:53 PM

Posting Permissions

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