changing the order of a column in a xml model based grid removes the link defined for that column
Hi
I am using an xml model based grid that shows a column with hyperlinks.
I have implemented hyperlinks for that column in the following way :
initialiseCellLinks();
function initialiseCellLinks() {
obj.setCellLink(function(column, row){ if(column==getHeaderIndex("fundName")) return "javascript:launchURL('"+this.getCellText(column, row)+"',"+row+")"; }, getHeaderIndex("fundName"));
}
Now I changes the preference of this column(order of fundName on the screen through a popup).The side affect is that fundName loses its hyperlinks.
I have also called initialiseCellLinks(); after changing the preferences but this does not help me out.
Can any one help me to resolve this issue.
Thanks
Vikramaditya Garg
I am using an xml model based grid that shows a column with hyperlinks.
I have implemented hyperlinks for that column in the following way :
initialiseCellLinks();
function initialiseCellLinks() {
obj.setCellLink(function(column, row){ if(column==getHeaderIndex("fundName")) return "javascript:launchURL('"+this.getCellText(column, row)+"',"+row+")"; }, getHeaderIndex("fundName"));
}
Now I changes the preference of this column(order of fundName on the screen through a popup).The side affect is that fundName loses its hyperlinks.
I have also called initialiseCellLinks(); after changing the preferences but this does not help me out.
Can any one help me to resolve this issue.
Thanks
Vikramaditya Garg
Vikramaditya Garg
July 31,