DataTable filter fails on composition api
Posted: 02 May 2021, 19:28
hello everyone;
i want to use datatable component using composition api. everything looks fine except filtering.
it works fine when I do the same with the traditional way
Do you have any ideas?
i want to use datatable component using composition api. everything looks fine except filtering.
Code: Select all
setup(){
let filters =reactive({
id : {value: '', matchMode : "equals"}
});
return {filters,...useDataTable(institutionService.getAllInstitutionsPaged)};
},
Code: Select all
data() {
return {
filters: {
id : {value: '', matchMode : FilterMatchMode.EQUALS}
}
}
},