I need to create the context menu with only a few options for the filter fields. Just like the getHeaderContextMenuItems method.
Announcement
Collapse
No announcement yet.
X
-
You can supply a standard ContextMenu event handler, but there is currently no way to get the set of MenuItems that the built-in feature would generate (as with getHeaderContextMenuItems).
However, you may not need to - the set of filter options available is driven by your settings for dataSourceField.validOperators and related properties. So if you are trying to limit the available search operators, that's the right way to do it, as it would also influence other components that provide filtering (eg the FilterBuilder).
Comment