:: Forum >> Version 2 >>
cell links via AW.XML.Table?
More information on this topic is available in the documentation section:
/aw.ui.grid/cell-link.html.
Hello:
I'd like to get my cell links dynamically from the server (something like the following):
var reportLink_0 = new AW.UI.Link;
reportGrid.setCellLink(reportLink_0,0);
reportGrid.setCellTemplate(new AW.Templates.Link, 0);
var reportLink_0_data = new AW.XML.Table;
reportLink_0_data.setURL('/my_data/url/sourceLink');
reportLink_0.setModel(reportLink_0_data);
reportLink_0_data.request();
However, when I do that, I'm getting an error out of the system/model join function (at least that's where I think the error is coming from).
Question I have is.. is it possible to set a data model on an AW.UI.Link? Pretty sure that is the source of my problem, because if I comment out the
reportLink_0.setModel(reportLink_0_data);
statement, I don't get the error (obviously my links don't get set, either).
Any ideas?
Gary
Saturday, March 18, 2006
Alex (ActiveWidgets)
Tuesday, March 21, 2006
This topic is archived.
Back to /aw.ui.grid/cell-link.html
Documentation:
Forum search