PDA

View Full Version : How to add menu item in a single column dorp down list in Grid panel.



srautpyaa
8 Feb 2013, 3:43 AM
Dear All,
I have developed a simple grid panel with data from database. Now i want to add menu item in a single column drop down list in a Grid panel as shown in below figure.

Actually i tried it, but it is added in all column drop down lists. Following is the i have added in JS.

var menu_items = this.headerCt.getMenu();
menu_items.add([{
text:'Testing',
id:'testing',
autoRender:true
}]);


Please help me,

Regards,
Satyaprasad

mitchellsimoens
11 Feb 2013, 9:54 AM
You can listen to the headertriggerclick event and hide/show menu items