PDA

View Full Version : Facing issue while loading selective data from store in combobox



smrita
28 Aug 2015, 6:21 AM
Hi all,

I need help on below problem statement
Problem-

I am getting 10 records from database which I am able to load on combobox.
But I need to filter the 10 records based on the query based on which result of the query the combobox should be populated.

Please help
Kind regards
Smrita

jdkhamba
28 Aug 2015, 12:03 PM
You could use extraParams to send additional filter criteria to the server to filter out the records that you don't want.Something like this:



proxy: {
type: 'ajax',
reader: {
type: 'json',
},
extraParams: {
criteria:criteria
}
}