Results 1 to 2 of 2

Thread: dataview tied to a store - removing nodes not destroying components in the node

  1. #1
    Ext JS Premium Member
    Join Date
    Jan 2008
    Location
    Virginia
    Posts
    34

    Default dataview tied to a store - removing nodes not destroying components in the node

    I have a dataview tied to a data store. Within each node I have some divs which I apply ext components to using applyTo() like some buttons and some of the form fields. When a node is removed, the components are not destroyed (aka I can still grab them using Ext.getCmp() in firebug). Is there a way to have the components destroy when the node they are applied to is destroyed?

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    You could either do this yourself or use my ComponentDataView user extension.

Similar Threads

  1. Problem in removing a node from tree:deletin alternate node
    By varsha.kothari in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 14 Apr 2009, 1:13 AM
  2. window close not destroying the components within it
    By kckc1234 in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 15 Mar 2009, 11:53 PM
  3. [UPDATED] Destroying DOM Nodes and Memory Usage
    By Zac in forum Ext 1.x: Bugs
    Replies: 4
    Last Post: 7 Sep 2007, 11:06 AM
  4. Utility for registering and destroying components
    By Ronaldo in forum Community Discussion
    Replies: 1
    Last Post: 8 Aug 2007, 2:51 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
  •