Hi All
I have a three combobox, on selected change populating the other combobox.
How to clear previous combobox values in order to fill new values in the same combobox in dojo
{
var queryClctn = new queryData();
queryClctn.getData(queryType).then(lang.hitch(this, this._onDistrictDataReceived), function (exception)
{
console.error(exception.message);
});
}
-----------------------------------------------------------
_onDistrictDataReceived: function (data)
{
this._queryCollectionStore = new Memory();
this._queryCollectionStore.data = data;
this._boundaryDropDown.store = this._queryCollectionStore;
},
Thanks,
Sadanand
Sadanand,
Just add a new Memory with empty data array:
this._queryCollectionStore = new Memory({data:[]}); this._boundaryDropDown.set('store',this._queryCollectionStore);