Results 1 to 3 of 3

Thread: Importing Tree

  1. #1

    Default Importing Tree

    Hi, I'm trying to import Tree and get an error

    import { Tree, PanelButton } from '@extjs/ext-react';

    Code:
    Uncaught Error: No Ext JS component with xtype "tree" found.  Perhaps you're missing a package?
        at _loop (bundle.js:13934)
        at reactify (bundle.js:13979)
        at Object.<anonymous> (bundle.js:24556)
        at __webpack_require__ (bundle.js:660)
        at fn (bundle.js:86)
        at Object.<anonymous> (bundle.js:24497)
        at __webpack_require__ (bundle.js:660)
        at fn (bundle.js:86)
        at Object.__webpack_exports__.a (bundle.js:24442)
        at __webpack_require__ (bundle.js:660)
    If Tree is replaced by TreeList it works.
    App is created using generator. I also tried on conference-app, same error.

  2. #2
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482
    Answers
    114

    Default

    Tree is in a separate package called "ext-react-treegrid". Run the following to install it:

    Code:
    npm i --save @extjs/ext-react-treegrid

  3. #3
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482
    Answers
    114

    Default

    All of the packages are listed here: http://docs.sencha.com/extreact/6.5....ng_application. It should list the package on the API docs page for each component, but it looks like that's missing at the moment. Looking into it...

Similar Threads

  1. Basic Tree and importing data
    By DavidBirnie in forum Sencha Cmd
    Replies: 1
    Last Post: 26 Jan 2017, 11:27 AM
  2. Importing .xdc files?
    By franklt69 in forum Sencha Architect 2.x: Help & Discussions
    Replies: 1
    Last Post: 3 Jun 2013, 9:38 AM
  3. Importing models
    By Dumas in forum Sencha Architect 2.x: Help & Discussions
    Replies: 7
    Last Post: 11 Jul 2012, 4:25 PM
  4. Importing a component
    By bseddon in forum Ext Designer: Help & Discussion
    Replies: 0
    Last Post: 23 Feb 2012, 6:15 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
  •