more than one link per row
Is it possible to set more than one link to a row?
Example:
The cells in column 2 and 4 should be linkable with different links
I vary the code below in many constellations to find a solution, but no luck.
Both links are "http://www.yahoo.de" instead of first link is "http://www.google.de" and the second is "http://www.yahoo.de".
Data:
Source:
Can anybody help?
Example:
The cells in column 2 and 4 should be linkable with different links
I vary the code below in many constellations to find a solution, but no luck.
Both links are "http://www.yahoo.de" instead of first link is "http://www.google.de" and the second is "http://www.yahoo.de".
Data:
var myData = [
["Name", "Homepage", "Date", "Something else", "http://www.google.de", "http://www.yahoo.de"],
Source:
var obj = new Active.Controls.Grid;
obj.setColumnTemplate(new Active.Templates.Link, 1);
obj.setColumnTemplate(new Active.Templates.Link, 3);
:
:
:
obj.setDataProperty("link", function(i, j){return myData[i][4]});
obj.setDataProperty("link", function(i, j){return myData[i][5]});
:
:
document.write(obj);
Can anybody help?
Thorsten
December 21,