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)

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar