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 Menu Item(s) to the Column Menu, defining them in the Menu Options section of Adaptable Options. .

When you define a MenuItem you can provide 3 functions that will be invoked by AdapTable:

  • onClick: What happens when the Menu Item is clicked
  • shouldRender: Whether the Menu Item should appear or not
  • label: What Label the Menu Item should have

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 Menu Options

In this example we removed the Create Custom Sort and Create Format Column menu items for the 'Contact' column and we removed all AdapTable Menu Items for the 'Cust. Ref' column.

AdapTable Help Resources:

Generating dummy data, please wait ...