API REFERENCE
columnMenu
Enables a column action menu in column headers.
What does this API do?
Enables a column action menu in column headers.
API for Pro features: Built-in column menu
Exact input and result types
columnMenu: boolean| Item | Value |
|---|---|
| JavaScript name | columnMenu |
| HTML attribute | column-menu |
| Default | false |
| Input type | boolean |
Usage flow
Set this on a property of the Grid element. In HTML, you can also use the column-menu attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Feature explanations and examples
- Column menu
Column menus place sorting, filtering, and visibility controls near the current column. Keep them distinct from row actions in cell context menus and whole-column-list management in tool panels.