Results 1 to 2 of 2

Thread: combobox, datepicker triggers not working inside toolbar

  1. #1
    Sencha User
    Join Date
    Jul 2007
    Posts
    13

    Default combobox, datepicker triggers not working inside toolbar

    Hi. I'm jumping from Ext 3 to Ext 6 and having a small issue. I spent a good hour trying to figure out why my combobox wouldn't show all the entries with triggerAction: all only to give up and add a datepicker to the same toolbar the combobox was in only to have it not work when clicked either. Both work if you focus them and press the down key. I'm guessing something is catching the click event?
    It's a toolbar inside a grid, am I missing something silly?

    Code:
    Ext.define('LogViewer.view.main.List', {
        extend: 'Ext.grid.Panel',
        xtype: 'mainlist',
        
        requires: [
            'LogViewer.store.LogData'
        ],
    
        title: 'Log Data',
    
        store: {
            type: 'logdata'
        },
    
        columns: [
            { text: 'Product',  dataIndex: 'product' },
            { text: 'Secid', dataIndex: 'secid', flex: 1 },
            { text: 'Market', dataIndex: 'mktid', flex: 1 },
            { text: 'ID1', dataIndex: 'id1', flex: 1 },
            { text: 'ID2', dataIndex: 'id2', flex: 1 },
            { text: 'Filename', dataIndex: 'file', flex: 1 }
            
        ],
        
        dockedItems: [{
        xtype: 'toolbar',
        dock: 'top',
        items: [{
            xtype: 'combo',
            forceSelection: true, 
            fieldLabel: 'Product',
            queryMode: 'local',
            triggerAction: 'all',
            displayField: 'ds_name',
            valueField: 'ds_name',
            store: { type: 'deliverysystems' }
        }, {
            xtype: 'datefield',
            fieldLabel: 'Date',
            name: 'date',
            value: new Date(), 
            maxValue: new Date() 
        }]
    }]
    });

  2. #2
    Sencha User
    Join Date
    Jul 2007
    Posts
    13

    Default

    Hmm... None of the grid triggers work, either. And I found it's only Firefox, not Chrome. Chrome works fine. Weird.

Similar Threads

  1. Replies: 2
    Last Post: 5 Apr 2016, 9:09 AM
  2. UI config for toolbar buttons inside navigationBar not working
    By maresh2all in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 5 Aug 2014, 12:31 AM
  3. [NOREPRO] Panel witth DatePicker inside Toolbar causes null eror in Designer (v309)
    By hschaefer123 in forum Sencha Architect 2.x: Bugs
    Replies: 4
    Last Post: 29 Mar 2012, 12:57 PM
  4. remote combobox on toolbar not working, but working when on FormPanel
    By norizam61 in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 7 May 2010, 8:48 PM
  5. Replies: 3
    Last Post: 27 Aug 2009, 10:56 PM

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
  •