Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Ext.ux.form.GroupComboBox

  1. #11

    Default Need to set default

    How do i set a default selection on a grouping combobox.I tried doing it on load of the grouping store but that didn't work.

  2. #12

    Default Problem with events on groupcombo

    Hello,

    I'd like to track events on a groupcombo and it seems not to work. I've tryied 'change', 'selectionchanged', 'blur', 'click' event.

    The following example does not work: no alert is opened:

    {
    xtype: 'uxgroupcombo',
    store: new ArrayStore( <data definition here> ),
    valueField: 'code',
    displayField: 'libelle',
    mode: 'local',
    fieldLabel: 'Type',
    name: 'type0',
    hiddenName : 'datatype',
    anchor:'100%',
    allowBlank: false,
    forceSelection: true,
    triggerAction: 'all',
    editable: false,
    //width: 220,
    groupTextTpl: '{text} ({[values.rs.length]} {[values.rs.length > 1 ? "Files" : "File"]})',
    showGroupName: false,
    startCollapsed: false,
    resizable: true,
    ,

    listeners : {
    change: function() {
    alert('changed : ')
    }
    }
    }

    Any idea?

    Thanks?

    PS: sorry for my english

  3. #13
    Sencha User
    Join Date
    Mar 2008
    Posts
    566

    Default

    its works fine for me. change does not fire until after the item loses focus. you can try select, that fires each time you select an item. You may want to remove the extra coma though. (I assume the extra coma is a typo.)

    resizable: true,
    ,

    listeners : {

    should be

    resizable: true,
    listeners : {

    Marty

  4. #14

    Default

    is there an update for this to work with ext 3? It appears to work, but the css does not work.

  5. #15

    Default Small Change to groupdataview.js

    Was having problems getting this working correctly under ext 3, anyway changed a couple of lines of code and all is working well.

    open groupdataview.js

    On line 20 you'll see this:
    '<div id="{groupId}-hd" class="x-grid-group-hd" style="{style}"><div>',

    Ad the following div layer to the end of that code
    '<div id="{groupId}-hd" class="x-grid-group-hd" style="{style}"><div><div class="x-grid-group-title">',


    You'll also need to add the closing Div on line 22 it should look like the following:
    '</div></div></div>',

    that fixed the issue for me. Thanks for the great plugin.

  6. #16
    Sencha User
    Join Date
    May 2009
    Posts
    41

    Default

    Good

  7. #17
    Sencha User
    Join Date
    May 2009
    Posts
    41

    Default

    Hi i am trying to use this extension but the template is not working for me it only shows the value of combo box not showing the template at all. below is my code.

    Code:
                             xtype:'uxgroupcombo',
                                id:'receiptNumber',
                                fieldLabel: 'Receipt#',
                                valueField:'RECEIPT_NO',
                                displayField:'RECEIPT_NO',
                                triggerAction:'all',
                                minChars:2,
                                forceSelection:true,
                                enableKeyEvents:true,
                                pageSize:50,
                                width:100,
                                emptyText:'Select--',
    
                                resizable:true,
                                minListWidth:350,
                                allowBlank:true,
                                loadingText:'Loading Details..',
                                queryDelay:250,
                                store:receiptStore,
                                groupTextTpl:'<tpl for="."><div class="x-combo-list-item">{RECEIPT_NO}, {RECEIPT_TYPE}</div></tpl>',
                                showGroupName: false,
    						    startCollapsed: true,
    i can see only value field. and template is not working. Your reply is appriciated.

    thanks

  8. #18

    Default

    Hi,

    I am also looking for combo box component that allows grouping. But I got confused on above discussion. Could you please let me know the steps that I need to follow to render grouping combo box on UI?

    Thanks...

  9. #19
    Sencha User
    Join Date
    Aug 2013
    Location
    Chandigarh
    Posts
    11

    Default Can anybody provide the working link again

    Can anybody provide the working link again as the shown link is not working..

Page 2 of 2 FirstFirst 12

Posting Permissions

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