Hello,
This code worked for me before, but now query and data in grid are not updating.
I use cdn https://cdn.syncfusion.com/ej2/dist/ej2.min.js.
Any sugestions??
var filter_types = new ej.dropdowns.DropDownList({
dataSource: _ar,
fields: { text: 'name', value: 'id' },
placeholder: 'Types',
select: (item) => {
if (item.itemData.id != '')
grid.query = new ej.data.Query().expand("Owner($select = Name,Surname, Id,Email),Orderer($select = Name, Id),EndingCustomer($select = Name, Id)").addParams("IdProcessingCompany", app.Views['ProcessingCompanies'].companySelect()).where('PeriodTypeText', 'equal', item.itemData.id);
else grid.query = new ej.data.Query().expand("Owner($select = Name,Surname, Id,Email),Orderer($select = Name, Id),EndingCustomer($select = Name, Id)").addParams("IdProcessingCompany", app.Views['ProcessingCompanies'].companySelect());
grid.refresh();
},
cssClass: "toolbar_dropdown",
close: () => { tooltip.close(); }
});