How do I add a custom button that opens context menu using filemanager?

edited December 5 in Technical questions

Hello everyone. I am trying to remove the context menu on right click and make it open only when clicking on a custom button on each item when in table view.

I've been able to add a custom column to the table view of the filemanager and the custom button by creating a new column on the "onViewInit". however, I am not being able to add functionality to that button (except for some hacky aproches that doesn't work completely)

Any hints on how to disable the context menu from all areas (items, blank areas, header area) and get it to open from the button showing the file options?

Thanks in advance.

Here's an example of what I have so far:

https://snippet.webix.com/nhlbmiao

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion