Sometimes we need to pass multiple values for one parameter in ajax, that is pass an array as parameter, in ext js we can acheive this as,
params:{
param1: ‘value’,
param2: [‘value1′,’value2’,…],
…
}
Here param2 has an array of values….
Sometimes we need to pass multiple values for one parameter in ajax, that is pass an array as parameter, in ext js we can acheive this as,
params:{
param1: ‘value’,
param2: [‘value1′,’value2’,…],
…
}
Here param2 has an array of values….
While creating a new extjs combo with
new Ext.form.ComboBox({
x: 0,
store:………….
If you want to explicitly set the width of the combo drop down to match the width of input box, specify
matchFieldWidth: true,
To explicitly specify the width, use
minListWidth:100 – if you want to set as 100px