Note that there are some explanatory texts on larger screens.

plurals
  1. POLeft-side navigationView in Sencha Touch Framework (A question about Ext.data.TreeStore)
    primarykey
    data
    text
    <p>I want to dynamically set up the left-side navigation menu just like iPad-style.<br> So, I make some modification on the demo example. You could also visit this official example <a href="http://pydictionary.appspot.com/" rel="nofollow">here</a>.</p> <pre><code>sink.StructureStore = new Ext.data.TreeStore({ model: 'Demo', //root: { // items: sink.Structure //}, proxy: { type: 'ajax', url: 'words.json', reader: { type: 'json', root: 'items' } } }); </code></pre> <p>For easier implementation, I try to get the JSON data from the "words.json". (Ideally, JSONP type is better...tried, but no luck.)</p> <p>Here is the content of "words.json":</p> <pre><code>{ text: 'User Interface', cls: 'launchscreen', items: [{ text: 'Buttons', card: demos.Buttons, source: 'src/demos/buttons.js', leaf: true }, { text: 'Forms', card: demos.Forms, source: 'src/demos/forms.js', leaf: true }, { text: 'List', card: demos.List, source: 'src/demos/list.js', leaf: true }] } </code></pre> <p>It ends up nothing appearing. What's wrong? Do I mistake it? (API <a href="http://dev.sencha.com/deploy/touch/docs/source/TreeStore.html#cls-Ext.data.TreeStore" rel="nofollow">here</a>)</p> <h3>What do I want to do?</h3> <p>Like a dictionary, left side are those navigation items of word. On clicking it, the meaning of the word will be showed in right-side view. </p> <p>I can't run NestedList example in <a href="http://www.sencha.com/products/touch/download/" rel="nofollow"> sencha framework</a>. <strong>Clicking on the table cell and push another view on it</strong> (i.e., in Sencha: NestedList) is what I want to do.</p> <h3>Have tried and no luck:</h3> <ol> <li>use the NestedList example </li> <li>replace proxy with ScriptTagProxy (JSONP)</li> <li>use easier proxy implementation (showed in the code)</li> </ol> <p>I am not so sure whether my description is clear enough or not, feel free to tell me which part is unclear. And thanks in advance!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload