1. #91
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    374
    Vote Rating
    13
    ttbgwt will become famous soon enough

      0  

    Default


    bump

  2. #92
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    374
    Vote Rating
    13
    ttbgwt will become famous soon enough

      0  

    Default


    any ideas on this?

    Quote Originally Posted by ttbgwt View Post
    Your checkboxcombo is working great but when I try to manually type within the combo text area, and then blur away, the value I entered does not stay, but the previous checkbox selections overwrite it.

    In a normal combobox, when I edit and blur away, the edited value stays put, and is not overwritten. Any ideas on how to accomplish this?

    Code:
    me.propertGrid.customEditors[field] = new Ext.grid.GridEditor(new Ext.ux.form.CheckboxCombo({
      displayField: 'field',
      valueField: 'field',
      mode: 'local',
      editable: true,
      selectOnFocus: true,
      forceSelection: false,
      clicksToEdit: 1,
      store: new arraystore...,
      value: value
    })

  3. #93
    Sencha User
    Join Date
    Jun 2012
    Posts
    1
    Vote Rating
    0
    liuyg2005 is on a distinguished road

      0  

    Default how to set background-color to white color?

    how to set background-color to white color?


    hi,
    i want to know how to set background-color from black to white color?

  4. #94
    Sencha User
    Join Date
    May 2009
    Posts
    30
    Vote Rating
    2
    Antjac is on a distinguished road

      0  

    Default


    Just a little update : Line 447 Ext.ux.form.CheckboxCombo.js

    Code:
    Ext.each(vals, function(v) {
                if (this.valueField){
                    var r = this.findRecord(this.valueField, v);
                    if (r) {
                    
                        text.push(r.data[(this.renderField?this.renderField:this.displayField)]); // To use a customize field in the collapsed combo
                        r.checked = true;
                    }
                }
            }, this);
    With this, you can use a customize field "renderField" in your combo. For exemple, if you have in the list :
    - This is a very long text
    - This a short text

    And you choose both... you could see "long text, short text" (depending of your store)