Hello webix team…
I wonder how to open context menu by clicking button on datatable?
Here’s the snippet http://webix.com/snippet/ecb52ffd
Hello webix team…
I wonder how to open context menu by clicking button on datatable?
Here’s the snippet http://webix.com/snippet/ecb52ffd
getContext
works only if the context menu is attached as usual (.attachTo( $$("t1") );)
But if you need to attach the context menu to an icon, there’s another way: you can get the row ID via custom attribute (e.g. $context) and still you’ll be able to read it. Check the snippet:
Thank you. Your solution is just what I need.