Results 1 to 3 of 3

Thread: ComboBox List wont show when form opened more than once.

  1. #1
    Sencha User
    Join Date
    Apr 2013
    Posts
    6

    Default ComboBox List wont show when form opened more than once.

    Hi,

    I have a form that has a grid which column is a combobox. On first load of the form, everything works fine but when I cancel and re-opened the form the combobox list wont appear.

    The image below is loaded for the first time. It shows the lists of items that has 'Basics' in it.

    1stLoad.PNG

    The image below is when I re-opened the form the second time. It doesn't show the lists of items with 'Basic'.
    2ndLoad.PNG

    Please see my code below.

    Code:
    var topicGrid = Ext.create('Ext.grid.Panel', {	name: 'topicGrid',
    	id: 'topicGrid',
    	store: gridTopics,
    	columns: [{
                header: 'Topic',
                dataIndex: 'topicCode',
                flex: 1,
    	    allowBlank: false,
                renderer: function(topicCode) {
    		var index = comboTopics.find('topicCode', topicCode);
    		return (index === -1) ? "" : comboTopics.getAt(index).get('topicDesc');	
    			},
                editor: {
                    xtype: 'combobox',
    			store: comboTopics,
    			queryMode: 'local',
    			displayField: 'topicDesc',
    			valueField: 'topicCode',
    			forceSelection:true,
    			anyMatch: true,
    			typeAhead: true
    		}
            }],
            plugins: [rowEditing4],
            listeners: {
                'selectionchange': function(view, records) {
                    topicGrid.down('#removeEmployee').setDisabled(!records.length);
                }
            }
        });

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    That sounds familiar but I couldn't find a ticket for it. Are you able to recreate the issue in a runnable test case?
    https://fiddle.sencha.com/#home

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    6

    Default

    Hi,

    No. I haven't tried replicating it on fiddle. But I'll try and let you know the result.

Similar Threads

  1. What am I doing wrong? Selectfield options wont show -
    By essex in forum Sencha Touch 2.x: Q&A
    Replies: 4
    Last Post: 7 Feb 2012, 7:41 AM
  2. [SOLVED] TabPanel wont show on Iphone
    By pokiekokie in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 10 Jan 2011, 9:52 AM
  3. Grid wont show on the second tab
    By farout in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 5 Nov 2010, 11:35 AM
  4. .show() wont show accordion item after hidden?
    By joefox in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 17 Feb 2010, 6:42 PM
  5. Image on Button wont show
    By joefox in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 26 Feb 2009, 7:05 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •