Disable buttons in Kanban editor

How can I disable the buttons in the editor? Is there a function to do that.

Hello,
You can disable the layout in which the buttons are located: https://snippet.webix.com/y0lj834e
Also is possible to disable buttons: https://snippet.webix.com/riak6ghk

Is the ViewID always ‘$button2’ etc.? Or is there a other way?

https://snippet.webix.com/0lfgussy

Okay, thx.

Yes, it’s truly better to use queryView
editor.queryView(“button”, “all”);

Why cannot hide the button with hide()-Method? How can I hide the button instead of disable?
Or how can I set an Id to the Button for css?

Kanban editor hides or shows the buttons depending on the current mode of operation (add/edit). The solution is to hide button on the onShow event of editor.

Please, check the snippet:
https://snippet.webix.com/df90a2r4

Thx, it works.