我有这个:
{
listeners['combobox[name="counterparty_id"]'] = {
afterrender: {
fn: this.onComboboxCounterpartyAfterrender,
scope: this
}
};
this.control(listeners);
}
// function which is being called after rendering the combobox
onComboboxCounterpartyAfterrender: function(combobox, eOpts){
// some code
},
那么,我怎样才能发送额外的参数来onComboboxCounterpartyAfterrender
运行呢?
也许是这样的:
listeners['combobox[name="counterparty_id"]'] = {
afterrender: {
fn: this.onComboboxCounterpartyAfterrender,
scope: this,
params: someParameters
}
};