简体   繁体   中英

JS Tabulator row icon pop-up menu

Using JS Tabulator , this is what I have so far: 在此处输入图片说明

I'm looking to build a feature with JS Tabulator , which allows for row mover icon to be used as a button to show the menu. I've seen this accomplished by https://www.notion.so as they have rows with pop up menu, like so:

在此处输入图片说明

This allows for rows to be moved (by holding left click and moving the mouse) or to just click on the icon and menu shows up.

How can I get the menu to show in Tabulator and then show the pop-up menu it's self. My guess would be to add click handler on the icon (not sure how to do that) and then show menu (probably using some library).

If you have any further questions, please ask and thanks for any help in advance.

After much research, I believe Context Menu is the library used, with lots of styling done to it. Hope that's helpful to someone.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM