Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext JS Premium Member genTaliaru's Avatar
    Join Date
    Jan 2009
    Posts
    51
    Vote Rating
    0
    genTaliaru is on a distinguished road

      0  

    Default how to use combox as textfield and combox in grid editor

    how to use combox as textfield and combox in grid editor


    I have a grid editor and the column editor is setted to Ext.form.Combobox.
    So far it works perfectly
    Code:
    columnModel
    ....
    			dataIndex: 'categoryName',
    			header: tra("category_name"),
    			width: 200,
    			editor: new Ext.form.ComboBox(
    			{
    				store: Editor.Data.productModuleCategoriesOptions,
    				valueField: 'ID',
    				displayField: 'name',
    				typeAhead: true,
    				triggerAction: 'all',
    				lazyRender: true,
    				forceSelection: false,
    				listClass: 'x-combo-list-small',
    				editable: false
    			})
    ....

    If the store dosent have the value what the user want, then i want to ta allow user to write their own values.

    But if i do this then combo box selects automatlici last value from list

    How do i allow write value as textbox

  2. #2
    Ext User
    Join Date
    Mar 2008
    Posts
    118
    Vote Rating
    0
    smit_al is on a distinguished road

      0  

    Default


    editable: true

  3. #3
    Ext JS Premium Member genTaliaru's Avatar
    Join Date
    Jan 2009
    Posts
    51
    Vote Rating
    0
    genTaliaru is on a distinguished road

      0  

    Default thats not enough

    thats not enough


    If i blur the field, the combobox takse the last selected value, but shoult take the value whate user has wrote

Thread Participants: 1