J
jts-law
Guest
All, I figured out my issue. I'm not creating a new data source, the original created by KUIB works fine. I setup a data source change event function to set the field correctly. Previously I was setting the value being filtered on using "e.item[].report = filter.filters[0].value", this needs to be done with a model.set(). The following code works correctly. this.$ds.dsMyDataSourcet.bind("change",(e) => { if (e.action === "add") { let gridTotals = angular.element("#gridMain").data("kendoGrid"), filter = gridTotals.dataSource.filter(); if (filter && filter.filters[0].field === "report") { let modelNew = e.sender.getByUid(e.items[0].uid); modelNew.set("report", filter.filters[0].value); } } }); Louis [ Sorry for the duplicates, the forum is sending the email but not saving the response to the thread. ]
Continue reading...
Continue reading...