Context menu for elements inside Tabulator component
See original GitHub issueis it currently possible to add a context menu to the input of form elements? lets say a TextInput
?
If so, how would I go about it? I’m not able to get it working using the way shown in the guide
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Menus, Popups & Alerts | Tabulator
Tabulator has a range of options for providing context menus and header menus on a table. In the example below the headerMenu column...
Read more >Context menu for Tabulator - Stack Overflow
It is standard practice in a lot of context menu libraries to append the menu directly to the body rather than to the...
Read more >Setting up Tabulator columnCellContextMenu - Anvil Works
Hi All, I'm trying to set up a Tabulator table with a cell context menu as described in the Tabulator docs: //define row...
Read more >Easy Data Table Generator with JSON - Tabulator - jQuery Script
Tabulator is a feature-rich jQuery plugin used for generating simple or complex data tables from any JSON data.
Read more >tabindex - HTML: HyperText Markup Language | MDN
The tabindex global attribute indicates that its element can be focused, and where it participates in sequential keyboard navigation ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve made some tests and it turns out not to be the case of events. The “contextmenu” event is triggered correctly and the context menu is in fact showing. But it cannot be seen, because it’s showing inside incorrect component tree and in incorrect position. I’ve commited some fixes and after 0.0.37 version is released, the following code can be used to open a context menu inside a tabulator component (note that the
ContextMenu
component must be created inside theonRendered
callback and it will be shown in a fixed position):Tabulator overwrites a lot of mouse event handlers for its DOM elements. And it’s probably just overwrites right mouse click as well. I’ve been struggling with this event handlers trying to make
Select
control work inside Tabulator, but unfortunately I didn’t manage to do it. It could be similar issue. But I will take a closer look at this.