Results 1 to 4 of 4

Thread: Uncaught Error: NOT_FOUND_ERR: DOM Exception 8 on showing item second time.

  1. #1

    Default Uncaught Error: NOT_FOUND_ERR: DOM Exception 8 on showing item second time.

    Hi all,

    I have list . On list item tap pushing new panel("DetailsPanel") in the navigation view. On initialize event of DetailsPanel i am adding button("show chart") on navigation bar using the following code.
    Code:
    Ext.getCmp("MyNavigationView1").getNavigationBar().add({
    xtype: 'button',
    id:'show chart',
    iconCls:'favorites',
    iconMask:true,
    align:'left'
    )};

    On click this button i am showing chart on the DetailsPanel using following code.
    Code:
    Ext.ComponentQuery.query('DetailsPanel')[0].add(chart);

    When i am doing this operation first time then it work fine.
    Now i am doing the "back" operation and once again pushing the DetailsPanel in the navigation view.
    But when i am clicking on the button "show chart" it can giving this error.

  2. #2
    Sencha User
    Join Date
    Aug 2012
    Posts
    21
    Answers
    2

    Default

    From the looks of it, you might be destroying the DetailsPanel at some point instead of just hiding it. You'll need to post more code, especially the part where your DetailsPanel is constructed and the part where it's removed from view.

  3. #3
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Answers
    102

    Default

    Also, you're using static ids! Stop that practice.

  4. #4

    Default

    Quote Originally Posted by [email protected] View Post
    Also, you're using static ids! Stop that practice.
    Static id's means?

Posting Permissions

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