Results 1 to 5 of 5

Thread: Facing issue with Treemenu implementation with ExtJS 6.5.3

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    19

    Default Facing issue with Treemenu implementation with ExtJS 6.5.3

    Hi All,

    I have downloaded ExtJS 6.5.3 evaluation package and using it to evaluate migration in my project.


    I tried migrating from ExtJS 4.2 to the latest version Ext 6.5.3. Due to nature of my existing project, currently I cannot use Snecha Cmd to build my application. I'm using a traditional way of including the required JS and CSS files in my project and running the application. I have successfully migrated all my codebase but getting the below exceptions with the treemenu implementation.

    I have created a sencha fiddle to reproduce the issue.

    Fiddle :
    https://fiddle.sencha.com/#view/editor&fiddle/2iac

    I tried debugging further into extjs-debug.js, but couldn't get any clue about these exceptions.


    ExtJS_6.5.3_Exception.PNG


    Further, this treemenu exception also impacts the ExtJS MessageBox implementation in my project. If I keep the treemenu and try using the ExtJS MessageBox to dispay some alert, it works but its inner HTML is impacted by treemenu as a result it appears like a small dot.

    If I comment out my tree-menu implementation, Ext MessageBox works perfectly fine.


    Request you all to help me with this issue!


    Please Note: It would be great if I can find a solution that doesn't require me to change my Model.



    Thanks,

    Dhiraj

  2. #2
    Sencha User yeghikyan's Avatar
    Join Date
    Mar 2009
    Location
    München
    Posts
    574
    Answers
    99

    Default

    can you reproduce the issue in http://fiddle.sencha.com/ ?
    "The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague." – Edsger W. Dijkstra

  3. #3
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    19

    Default

    Hi yeghikyan,

    Thanks for looking the problem. I have cleaned up the question thread further removing the code details and created a Sencha fiddle for the same. Can you please take a look now?

    Surprisingly, I have tried another implementation of the same that works but I'm curious to understand the issue with this one as my project code base is much more aligned to above implementation.

    Link to fiddle that works : https://fiddle.sencha.com/#view/editor&fiddle/2id4

    Thanks,
    Dhiraj

  4. #4
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,254
    Answers
    759

    Default

    The point of creating a fiddle is to demonstrate the issue. A fiddle that "works" is of little use, because it isn't capturing the specific cause of the problem.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  5. #5
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    19

    Default

    I think I got the issue. I have updated the fiddle, removed all the errors except the "Exception : Uncaught TypeError: Cannot read property 'parentNode' of null". This is mainly coming from the function call : tree.removeHeaderEle(); If I comment it, this exception goes away. I have to now think what can I do to achieve the same functionality as of this function.

    Updated Fiddle
    :https://fiddle.sencha.com/#view/editor&fiddle/2iac

Similar Threads

  1. Facing an Issue with Tooltip in IE
    By kamalakarreddy vancha in forum Ext 5: Q&A
    Replies: 0
    Last Post: 15 May 2018, 5:56 AM
  2. Facing issue when filter the data from extjs store
    By Arun Jindal in forum Ext: Q&A
    Replies: 1
    Last Post: 5 May 2016, 6:16 AM
  3. Facing issue when filter the data from extjs store
    By Arun Jindal in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 5 May 2016, 6:16 AM
  4. Facing an issue with Sencha Cmd
    By nitinlavania5 in forum Ext: Q&A
    Replies: 4
    Last Post: 24 Apr 2014, 4:51 AM
  5. Replies: 3
    Last Post: 31 Aug 2012, 4:38 AM

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
  •