Jump to content

Help to understand how store proxy works


estrify

Recommended Posts

Hi,

In the test case attached, I am trying to find why an UniHTMLFrame works with a store with embedded data but do not with a proxy store pointing to a json file having the same data. It is related to how UniGUI works or simply am I forgetting something?.

Thans in advance,

TreeGrid.rar

Link to comment
Share on other sites

17 hours ago, estrify said:

No ideas about why this simple secha example doesn't wotk with UniGUI unless embedded data is used?. Have I to import a missed lib, do something in another way, ...?.   Why?

proxy: {
    type: 'ajax',
    //the store will get the content from the .json file
    url: 'files/treegrid.json',
    reader: {
        type: 'json',
        responseType: '',
        root: 'children'
    }
},

 

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...