Hyperlink on a column does not allow to show right click context menu on Grid
Hi
I have a column that has cell links which i have implemented using the following
obj.setCellTemplate(new AW.Templates.Link,getHeaderIndex("Funds"));
obj.setCellLink(function(column, row){
if(column==getHeaderIndex("Funds"))
return "javascript:launchURL('"+this.getCellText(column, row)+"',"+row+")";
else return '';
}, getHeaderIndex("Funds"));
I have also created context menu on the grid using http://www.activewidgets.com/javascript.forum.15382.0/contextmenu-implementation.html
which i have also posted.
Now when I try to show context menu on Column whose cells have anchors ( using new AW.Templates.Link) , the context menu does not work.
Can any one help me out what is wrong with my code/approach ?
Thanks
Vikramaditya Garg
I have a column that has cell links which i have implemented using the following
obj.setCellTemplate(new AW.Templates.Link,getHeaderIndex("Funds"));
obj.setCellLink(function(column, row){
if(column==getHeaderIndex("Funds"))
return "javascript:launchURL('"+this.getCellText(column, row)+"',"+row+")";
else return '';
}, getHeaderIndex("Funds"));
I have also created context menu on the grid using http://www.activewidgets.com/javascript.forum.15382.0/contextmenu-implementation.html
which i have also posted.
Now when I try to show context menu on Column whose cells have anchors ( using new AW.Templates.Link) , the context menu does not work.
Can any one help me out what is wrong with my code/approach ?
Thanks
Vikramaditya Garg
Vikramaditya Garg
August 17,