Kendo vue wrapper error on kendo-grid-column filterable props


Kendo vue wrapper error on kendo-grid-column filterable props



I was trying to use the drop down filter on Kendo Grid. But i am getting the error,



Invalid prop: type check failed for prop "filterable". Expected Boolean, got Object.


Invalid prop: type check failed for prop "filterable". Expected Boolean, got Object


<kendo-grid-column :filterable="{
ui: statusFilter,
operators: {
string:{
eq : 'Is equal to'
}
}
}" field="status" title="Client Status" width="10%"></kendo-grid-column>



Status Filter Method


statusFilter(element) {
this.$http.get("list/getclientstatus").then(({ data }) => {
element.kendoDropDownList({
dataSource: data,
dataTextField: "text",
dataValueField: "value",
optionLabel: "--Select Value--"
});
});



I am using kendo vue-templates on grid for action method which is only available as the props.


vue-templates



https://www.telerik.com/kendo-vue-ui/components/framework/vue-templates/



The version of kendo grid i am using : 2018.2.516,



So, i could not use this filter as:


columns: [
{
field: "status",
title: "Client Status",
filterable: {
ui: this.statusFilter,
operators: {
string: {
eq: "Is equal to"
}
}
}
}



This method is working very fine for me. But the filterable props as object is not working on my case.



What could be the workaround for this problem?



Please help!




1 Answer
1



I updated my kendo vue ui wrapper version, It is working as expected.


"@progress/kendo-grid-vue-wrapper": "^2018.2.620",






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Opening a url is failing in Swift

Export result set on Dbeaver to CSV