WarUI

Built-in export and import toolbar menu

GRID-A20-F26P2beyond-baselinePlanned

Provides an optional, fully keyboard-accessible toolbar menu that combines format choice, scope and a print entry, built from the adapter registry. Apps get a complete user-facing experience without custom UI, and can hide or reorder entries.

Planned. This page shows the specification from issue #200. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Grid with the toolbar enabled and default menu entries.

Expected behavior

The menu updates live. Choosing an entry runs the corresponding export, import or print. The scope submenu disables 'Selected' when nothing is selected.

Planned API surface

toolbar.exportMenuexportMenu.formatsexportMenu.showScopeexportMenu.showImportexportMenu.showPrintexportMenu.renderItem

Acceptance criteria

  • The menu follows the menu button pattern: Enter, Space or ArrowDown opens it, arrow keys navigate, Escape closes and returns focus. (pending)
  • Entries reflect the registered adapters, including custom ones. (pending)
  • Disabled entries expose aria-disabled and an explanation via tooltip text. (pending)
  • All labels are localizable through the grid i18n bundle. (pending)