Column Menu Demo

AdapTable provides a Column Menu - accessible via the Column Header - which includes shortcuts to all the popup screens relevant to that column and its data type.

The Column Menu is context sensitive so the menu items shown are dependent on the current column and the make up of the Grid.

You can add your own bespoke User Menu Item(s) to the Column Menu, defining them in User Interface State .

When you define a UserMenuItem you can reference 2 functions (for which you provide the implementation for both in UserFunctions section of AdaptableOptions).

  • UserMenuItemClickedFunction: the function called when a Menu Item is clicked.
  • UserMenuItemShowPredicate: the predicate function that runs when the menu is opened to return if the menu item should appear.

In this example we added 'Float Dashboard' and 'Set System Status' menu items (with the latter having sub menu items).

You can also choose which - if any - of AdapTable's shipped Column Menu items are available by using the showAdaptableColumnMenu function property in User Interface Options

In this example we removed the 'Create Custom Sort' and 'View as PieChart' menu items for the 'Contact' column and we removed all AdapTable menu items for the 'Cust. Ref' column.

Generating dummy data, please wait ...