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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi