3.0 beta 2

how to open new window by link

I want open new window by link , how can i do?
qian xian jie
April 25,
You can set 'target' attribute in the link template -

var obj = new AW.UI.Grid;
    obj.setCellData("cell");
    obj.setHeaderText("header");

    obj.setColumnCount(10);
    obj.setRowCount(10);

    var link = new AW.Templates.Link;
    link.setAttribute("target", "_new");

    obj.setCellTemplate(link);
    obj.setCellLink("http://www.google.com");

    document.write(obj);
Alex (ActiveWidgets)
April 25,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.