PDA

View Full Version : context menu in extjs



amrish
21 Aug 2009, 2:49 AM
Hi,

I am totally new in Ext Js , I am using Ext JS 3.0 version .

I am not able to find out how i can use context menu of EXT JS in my exsisting JSP.

Can anybody help with one or more examples.

Thanks in advance.

thomson
21 Aug 2009, 3:00 AM
Where do you want to add Context Menu??? is it in the Grid Row???

21 Aug 2009, 3:04 AM
How about reading the API or the EXAMPLES?

21 Aug 2009, 3:06 AM
var menu = new Ext.Menu({
items : [
{
text : 'Click me',
handler : function() {
Ext.MessageBox.alert('bing', 'You clicked me?');
}

}
]

});
menu.showAt([100, 100]);

amrish
21 Aug 2009, 3:09 AM
Hi ,


Actually i have one jsp in this i want to add context menu.