Results 1 to 3 of 3

Thread: flat hierarchical data(using parentID) convert treestore now working

  1. #1
    Sencha Premium User
    Join Date
    Jun 2017
    Posts
    5

    Exclamation flat hierarchical data(using parentID) convert treestore now working

    i try load using store.load() then it works.


    but, store.loadRawDta() is not working
    (using because Ext.Ajax.request and common control need)


    i found similar case


    https://www.sencha.com/forum/showthr...sing-parentId)


    post is fixed and try again


    but still not work


    using fiddle
    https://fiddle.sencha.com/#fiddle/1003&view/editor


    change version 6.5.3.57[classic] still not working


    how to flat data to treestore convert like using store.load()


    please answer this post.

  2. #2

    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,255
    Answers
    27

  3. #3
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    The issue is not that flat data can work. The issue is this is hooked up when you do a remote call via a proxy as the store's treeify method is involved within the onProxyLoad which loadRawData does not invoke.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Similar Threads

  1. Replies: 6
    Last Post: 24 Oct 2017, 6:45 AM
  2. Replies: 2
    Last Post: 10 Dec 2014, 2:34 AM
  3. Replies: 4
    Last Post: 2 Mar 2012, 7:23 AM
  4. Ext.data.TreeStore working local
    By carlosgoias in forum Ext: Discussion
    Replies: 2
    Last Post: 1 Dec 2011, 10:47 AM
  5. [extjs4] Treestore, convert flat result to hiearchary
    By mdissel in forum Sencha Ext JS Q&A
    Replies: 7
    Last Post: 27 Jun 2011, 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
  •