I'm investigating the ability to create a context menu/dropdown menu class using SyncFusion.
I have two use cases:
1: A context menu for a TreeView or ListView
2: A dropdown menu bound to a UI element that has a Command property.
I've been able to accomplish #2 using an SfComboBox but the implementation is rather convoluted. (see below) and it doesn't lend itself to #1.
I've just started digging into SfPopup to see if I can provide a general solution for both. Is this a viable path? If so, are there any examples I can review?
Here's a rough list of what I'd like to accomplish:
1: Fully templated view
2: Auto-sized based on content (Ideally dynamic auto-sizing).
3: Auto-dismiss when clicking outside the 'menu'
4: Auto or programmatic dismiss of the menu when executing a command within the menu.
5: Absolute positioning.
Thanks,
Dan.