function aaa(gridname,cellid)
{
//获取id的值
// var cellID=cellid.split('_');
// alert(cellID);
//
// var val=igtbl_getGridById(gridname );
// var guid = val.Rows.getRow(cellID[2]).getCellFromKey("ID").getValue();
// alert ("值="+guid);
//跳转页面传参数,并指定页面的大小
var width = 600;
var height = 550;
var left = (screen.width - width) / 2;
var top = (screen.height - height) / 2;
var str = cellid.split("_");
var SelGrid = igtbl_getGridById(gridname);
var guid = SelGrid.Rows.getRow(str[2]).getCellFromKey("ID").getValue()
var str = window.open("Pageindex.aspx?id=" + guid, "Pageindex", 'height=' +
height + 'px, width=' + width + 'px, top=' + top + ', left=' + left +
', toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no,status=no');
}
<ClientSideEvents CellClickHandler="aaa" DblClickHandler="aaa" />
CellClickHandler="aaa" 是单击事件
DblClickHandler="aaa" 是双击事件