Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
148617 | Oct 28,2019 07:46 AM UTC | Oct 31,2019 09:20 AM UTC | Vue | 3 |
![]() |
Tags: Data Grid |
App.vue
<div id="app">
<ejs-button id="enable" cssClass="e-flat" @click.native="enable">Enable Filter</ejs-button>
<ejs-button id="disable" cssClass="e-flat" @click.native="disable">Disable Filter</ejs-button>
import { ButtonPlugin } from "@syncfusion/ej2-vue-buttons";
methods: {
enable: function() {
this.$refs.grid.ej2Instances.allowFiltering = true;
},
disable: function() {
this.$refs.grid.ej2Instances.allowFiltering = false;
}
}, |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.