PDA

View Full Version : Column details of grid not available in itemcontextmenu



jksnu
12 Feb 2013, 7:26 AM
I am using Ext.menu.Menu in the xType:grid. On the right click, I have a listener “itemcontextmenu” by which I get the details of which row of the grid I have right clicked but unable to get the column number or column name.
Is there any way out of this problem.

I am using Extjs 4.1.1.

mitchellsimoens
13 Feb 2013, 8:44 PM
You get the HTML item so you can figure out what column by the index of that item for that row.