franzisk
21 Jun 2007, 9:21 AM
I need to clear/empty/reset whatever, I just want zero data in there) ComboBox and Store, but it not working.
In red are the ComboBoxes I need to do that, but how?
listeners: {
select:{
fn: function(combo, record, index) {
stateID = record.data.id;
cbCities.reset();
cbNeighborhood.reset();
cbCities.setValue('['+record.data.name+']');
cbCities.store.load( {params:{id_country:countryID, id_state:stateID, id:3}} );
}
}
}
In red are the ComboBoxes I need to do that, but how?
listeners: {
select:{
fn: function(combo, record, index) {
stateID = record.data.id;
cbCities.reset();
cbNeighborhood.reset();
cbCities.setValue('['+record.data.name+']');
cbCities.store.load( {params:{id_country:countryID, id_state:stateID, id:3}} );
}
}
}