Showing context menu in the ultrawebgrid using javacript.
step1:
Create ultrawebgrid with Rowselection.(if not choose selected row property getActiveRow method will not work)
step2:
create web menu with property setting of Popupmenu.
step3:
Calling showmenu function from gridcell click of ultrawebgrid.
step4:
function showmenu(objGrid,objGridid,button)
{
var grid = igtbl_getGridById(objGrid);
if(grid.getActiveRow()!=null)
{
if(button==2)
{
igmenu_showMenu('uwmContextmenu',event);
return true;
}
}
else
{
alert("Please select atleast one row");
return false;
}
}