# get_headerMenu()

Property which returns the client object of the [grid header context menu](https://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/headercontextmenu/defaultcs.aspx) when switched on. Useful when you would like to customize the items in it on the client (see the javascript logic at the top of [this help topic](https://www.telerik.com/products/aspnet-ajax/documentation/controls/grid/how-to/filtering/reduce-the-filter-menu-options) for a reference).

| **get_headerMenu()** |
| -------------------- |
|                      |

Example:

```JavaScript
function getHeaderContextMenu() {
    var grid = $find("<%=RadGrid1.ClientID %>");
    var headerContextMenu = grid.get_headerMenu();
}
```
