Dropdown in header for custom actions

It is possible to show a custom dropdown/combobox/meny/whatever in the header of a grid to put some custom actions in?
And how do I get the events from that dropdown?

the header’s values are treated as HTML, so you can use any HTML tags in the setHeader/attachHeader method.