Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You should dock the panel to the bottom. </p> <pre><code>myapp.cards.vehicleInfo.dockedItems.add( new Ext.Panel( {html: 'test' } ) ); </code></pre> <p><strong>Update</strong></p> <pre><code>Ext.regModel('Contact', { fields: ['firstName', 'lastName'] }); var store1 = new Ext.data.JsonStore({ model : 'Contact', 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: 'Michael', lastName: 'Mullany'}, {firstName: 'Abraham', lastName: 'Elias'}, {firstName: 'Jay', lastName: 'Robinson'}, {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: 'Michael', lastName: 'Mullany'}, {firstName: 'Abraham', lastName: 'Elias'}, {firstName: 'Jay', lastName: 'Robinson'} ] }); new Ext.Application({ launch: function() { var panel = new Ext.Panel({ fullscreen: true, id:'thePanel', layout: 'vbox', style: 'background-color:darkblue', scroll:'vertical' }); //do this in your dynamically called function var list = new Ext.List({ id :'theList', itemTpl : '{firstName} {lastName}', store: store1, width: '100%', scroll:false }); var smallPanel = new Ext.Panel({layout: 'auto',width:'100%',height:200,style:'background-color:darkgreen;color:white',html:"Hello I'm the panel"}); panel.items.add(list); panel.items.add(smallPanel); panel.doLayout(); } }); </code></pre>
 

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