1. #1
    Ext User
    Join Date
    Jul 2008
    Posts
    5
    Vote Rating
    0
    jazzman79 is on a distinguished road

      0  

    Question searchfield.js and datagrid

    searchfield.js and datagrid


    Hi im completely new to ext2,

    I have made a datagrid that fetches records from at database, and i am using the searchfield in the topbar.

    This is working fine, but it is only passing 1 param.
    i have another combobox in the topbar and i need the searchfield to pass the id from the selected field in the combobox.

    1. How do i get access to the selected value in the combobox.
    2. how can i get the datagrid to sort serverside, when i press a column.

    thx in advance

    Jasper

  2. #2
    Ext User
    Join Date
    Jul 2008
    Posts
    5
    Vote Rating
    0
    jazzman79 is on a distinguished road

      0  

    Default almost solved

    almost solved


    ok, i almost have it i think.

    i've made a listener that changes the baseparams when i select something in the combobox.

    Code:
    listeners: {
                    'change' : {
                        fn: function(field, newVal, oldVal) {
                            ds.baseParams.id_provider = newVal
                            // im getting the value instead of the id as published in the store.
                        }
                    }
                }
    how do i get the id instead of the value (text)

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