PDA

View Full Version : Problem in right context menu display with Extjs v3



surekha yadav
19 Jan 2011, 1:31 AM
Hi,




I am facing problem with right context menu in Extjs version 3.
Whenever I right click on grid to get menu its width stretched to width of full screen
and show unexpected results on the screen.

Please tell me some solution about this problem because in Extjs version 2 its working fine.

Thanx,
Surekha

Condor
19 Jan 2011, 2:31 AM
- Which Ext version are you using now?
- Can you post the code you use for your menu?

surekha yadav
19 Jan 2011, 4:10 AM
Thanks Condor I got the solution
actually I was using

this.contextMenu = new Ext.menu.Menu({
id: 'gridCtxMenu',
floating:false // this was showing error
..........

in contextMenu function which is compatible with extjs version 2 series
but incompatible with extjs version above 3, So I just removed it.