Results 1 to 4 of 4

Thread: TreeGrids and Stores

  1. #1
    Sencha User lukefowell89's Avatar
    Join Date
    Nov 2010
    Location
    Dorset, UK
    Posts
    262

    Default TreeGrids and Stores

    I am revamping an application at the moment, and need to replace a normal grid with a treegrid so the user can sort the items themselves.

    From the examples, the code and the API I can see that the data is loaded using dataUrl. How would I go about loading items from a dataStore into a tree grid?
    My Web Design, Development & Internet Marketing Blog: http://www.aztec-online.com
    Read My Review of the latest Ext JS Framework:Ext JS 4 Review

  2. #2
    Sencha User lukefowell89's Avatar
    Join Date
    Nov 2010
    Location
    Dorset, UK
    Posts
    262

    Default

    Anyone?

    I need to be able to replace a gridpanel, with the treegrid, this grid panel already has existing functions, overlay plugins, its own store which contains a compontent store in each record etc. These records are formulas which we are using within our web application. We can then drag these forumlas onto a canvas, arrange them how we like and save it, which then saves the location of all the labels, formula fields, textfields etc as well as saving any new formulas we have created or edited.

    How simple would you think it would be to transfer this current grid into a treegrid? I also need to be able to add parents to the treegrid, then drag the formulas into folders and save it. Which logically can do that fine, but just how simple that all would be.

    Taking in mind that I am quite new to ExtJS, although being a web developer for many years, I havent used Javascript as much as I should have so its not simple yet. How difficult would this task be?

    Can anyone point me in the right direction?

    Thanks for your help,

    Luke
    My Web Design, Development & Internet Marketing Blog: http://www.aztec-online.com
    Read My Review of the latest Ext JS Framework:Ext JS 4 Review

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

    Default

    TreeGrid is actually a tree and not a grid, so it doesn't use a store.

    Maybe you should consider using MaximGB's TreeGrid user extension (which is based on grid).

  4. #4
    Sencha User lukefowell89's Avatar
    Join Date
    Nov 2010
    Location
    Dorset, UK
    Posts
    262

    Default

    I have got MaximGB's extension, but I am having trouble trying to figure out how to bring it across, as I am been brought into this project I do not fully understand how everythign works, but nearly every ExtJS class has been extended and extended again and alot of custom extensions, using a notification center. Meaning its very hard to pull apart the 200 js files to find what i am looking for!

    ill try and work my through it and when I can some more precise issues ill come back to see if anyone can help me out,

    thanks!
    My Web Design, Development & Internet Marketing Blog: http://www.aztec-online.com
    Read My Review of the latest Ext JS Framework:Ext JS 4 Review

Similar Threads

  1. Line wrapping in TreeGrids
    By cyChop in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 12 Jul 2010, 11:17 PM
  2. Question about line wrapping in TreeGrids
    By cyChop in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 12 Jul 2010, 7:52 AM
  3. Replies: 3
    Last Post: 11 Jul 2010, 3:57 PM
  4. Stores, sub-stores & filters - help
    By Bobbin in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 15 Nov 2009, 1:10 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
  •