Results 1 to 2 of 2

Thread: TypeError: Cannot read property 'parentNode' of undefined

  1. #1
    Ext User
    Join Date
    Feb 2008
    Vote Rating

    Default TypeError: Cannot read property 'parentNode' of undefined

    Good morning from Valencia, Venezuela; and sorry for my poor english. I have two grids, one that is loaded into a panel (this panel is in a tab), and other that is loaded into another tab. Both are in a FormPanel, this FormPanel is in a Window that is called when I make double click from a record of a master grid. This master grid is called when I make click in an icon that is located on Web Desktop. The error is: "TypeError: Cannot read property 'parentNode' of undefined", and this occurs when I close the window that content the formPanel. I think that the grid is destroyed by the close instruction, and I can't use the property 'hide', because when I make double click in another record, the data is not loaded, and the task bar of the Web Desktop don't remove the item. Thanks in advance, I will return crazy with this issue...

    PS: Don't put the code, because when I comment the lines that show the grids into a formPanel, the app work fine.

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    The Netherlands
    Vote Rating


    Not much information to go on...

    Can't you hide the window (closeAction:'hide') and reuse the window for the next record, e.g.

    var win = Ext.getCmp('mywindow');
    if (!win) {
      win = new Ext.Window({
        id: 'mywindow',
        closeAction: 'hide',
    var form = win.find('itemId', 'myform'); // example - use your own method to locate the form in the window

Similar Threads

  1. Replies: 3
    Last Post: 1 Sep 2010, 7:14 PM
  2. Cannot read property 'prototype' of undefined
    By flyboarder in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 3 May 2010, 2:19 PM
  3. Replies: 22
    Last Post: 10 Jul 2009, 2:08 PM
  4. Using AIR: TypeError: Can't get property dom from null value
    By sbauer in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 9 Jul 2009, 12:54 AM
  5. How to read property's value in JSON
    By wilfuler in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 24 Oct 2007, 4:42 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