Multiple column links inheriting same link value...help!?
More information on this topic is available in the documentation section:
/aw.templates.link/.
So I'm working with a grid that has several different links that are the same for each column, but different for each row. the problem is that my code seems to want to grab the last link value and apply it to all the other columns. Anyone have any better ideas on how to condense and clean up this code?
// COLUMN 14 LINK ---for a google maps address lookup from excel
var myLinks = function(column, row){
return "http://maps.google.com/maps?q=" + this.getCellText(0, row) + this.getCellText(1, row) + this.getCellText(2,
The problem is that when all three links are coded on top of each other they all end up taking the same link as the last coded link. ie: the link in column 16 gets attributed to column 15 14 and so on.
How can I fix it? Help?
linkcrazy
Tuesday, March 11, 2008
You should use column index when you assign the link function (otherwise each time the function is applied to all columns) -