PDA

View Full Version : How to add new menu Item to Grid Column Header



AtulDawkhare
25 Nov 2011, 3:50 AM
Hi All,
I have a Grid with few columns. I want to create / customize the Grid column [header] menu.
As show in the image I want to add new button to the Column Header menu.

I have tried following code , But it didn't work for me



grid.on('headerclick', function(ct,column,e,t,options) {
alert('I am here')
});

29573


Please suggest me how can do this?

skirtle
25 Nov 2011, 4:42 AM
Take a look at the source of the Grouping feature, it modifies that menu.