Note that there are some explanatory texts on larger screens.

plurals
  1. POsencha touch setvisible error
    text
    copied!<p>FileGroupList.js|view</p> <pre><code> Ext.define("TestSatham.view.FileGroupList",{ extend:"Ext.dataview.List", requires:["TestSatham.store.FileGroupList"], xtype:'list', config:{ store:'TestSatham.store.FileGroupList', itemTpl: ' {firstName} {lastName} ', emptyText: '&lt;div style="margin-top: 20px;text-align: center"&gt;No Items Available&lt;/div&gt;', width:'95%', height:'98%', style:'border:3px solid grey;border-radius:5px;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;background-color:grey' } }); </code></pre> <p>FileGroupList.js|store</p> <pre><code> Ext.define('TestSatham.store.FileGroupList', { extend:"Ext.data.Store", config:{ id:'filegroupliststore', model: "TestSatham.model.FileGroupList", data: [ { firstName: 'Tommy', lastName: 'Maintz' }, { firstName: 'Rob', lastName: 'Dougan' }, { firstName: 'Ed', lastName: 'Spencer' }, { firstName: 'Jamie', lastName: 'Avins' }, { firstName: 'Aaron', lastName: 'Conran' }, { firstName: 'Dave', lastName: 'Kaneda' }, { firstName: 'Jacky', lastName: 'Nguyen' }, { firstName: 'Abraham', lastName: 'Elias' }, { firstName: 'Jay', lastName: 'Robinson'}, { firstName: 'Nigel', lastName: 'White' }, { firstName: 'Don', lastName: 'Griffin' }, { firstName: 'Nico', lastName: 'Ferrero' }, { firstName: 'Jason', lastName: 'Johnston'} ] } }); </code></pre> <p>FileGroupList.js|model</p> <pre><code> Ext.define("TestSatham.model.FileGroupList",{ extend: 'Ext.data.Model', config: { fields: ['firstName', 'lastName'] } }); </code></pre> <p>This is my view,store and model in list but while running getting the below error,but the program is running while clicking the tab containing list it shows error.list is displaying but datas are not displaying .please help me </p> <p>Uncaught TypeError: Object # has no method 'setVisible'..why this error occurs in my list?</p>
 

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