Hello, how i can disable datefilter?
https://snippet.webix.com/3nsas16b
Hello @vickypaulantono,
It can be done via CSS styling:
.disabledFilter {
pointer-events: none;
opacity: 0.4;
}
You can use webix.html.addCss
which allows adding a CSS class to an element and webix.html.removeCss
which removes some defined CSS class:
let filterNode = $$("datatable").getFilter("year").getNode();
webix.html.addCss(filterNode,"disabledFilter");
webix.html.removeCss(filterNode ,"disabledFilter");
Please check the following snippet:
https://snippet.webix.com/ffk6iygt