Note that there are some explanatory texts on larger screens.

plurals
  1. POCombo boxes do not show records on 2nd load of window
    text
    copied!<p>been struggling with an issue now for a day or two. I have an Ext.Window that contains 2 combo-boxes. on the first load everything works fine, both stores are populated and the combo's work as they should.</p> <p>However, if I .show() the window a second time, the combo boxes do not "drop down" to display the lists. I have checked Firebug and there are no entries being added to the combo boxes although the stores are being populated.</p> <p>Here is the code of the Window:</p> <pre><code>uTransferWindow = new Ext.Window({ id : 'windowUserLicenseTransfer', title : 'Title', width : 405, autoScroll : true, closeAction : 'hide', closable : false, modal : true, bodyStyle : 'background-color:#FFF', buttonAlign : 'center', items : new Ext.form.FormPanel({ labelAlign : 'left', labelWidth : 140, bodyStyle : 'padding:10px 10px 0 10px', border : false, defaults: { xtype: 'ComboBox', anchor: '100%', tpl: '&lt;tpl for="."&gt;&lt;div class="x-combo-list-item"&gt;&lt;div style="position:absolute;left:4px;"&gt;{initials}&lt;/div&gt;&lt;div style="position:relative;left:50px;"&gt;{username}&lt;/div&gt;&lt;/div&gt;&lt;/tpl&gt;', displayField: 'username', valueField: 'userid', typeAhead: true, mode: 'local', triggerAction: 'all' }, items: [{ hiddenName: 'fromuserid', fieldLabel: 'From User', id : 'drop1', store: userswithlicenses }, { hiddenName: 'touserid', fieldLabel: 'To User', id : 'drop2', store: userswithoutlicenses }] }), buttons : [{ text : 'Transfer License', handler : function() { //do stuff } }, { text: 'Cancel', handler: function() { uTransferWindow.hide(); } }] }), </code></pre> <p>I have not been able to find anyone else with a similar problem on the forums, any help would be appreciated.</p> <p>UPDATE: found something small though: When the Window is shown the second time around the z-index has indeed increased. Why would the z-index increase each time the window is shown?</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