Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to create my context menu for the filter editor

    I need to create the context menu with only a few options for the filter fields. Just like the getHeaderContextMenuItems method.

    #2
    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

    Working...
    X