:: Forum >>

How to create links for Grid header

Hi

I would like to create links in header of an AW grid.

A similar question was asked in below thread as well :

http://www.activewidgets.com/javascript.forum.7861.0/hyperlink-needed-in-the-row.html

But there was no solution mentioned.

Any help is greatly appreciated.

Thanks
Sachin
Wednesday, March 28, 2007
You can add links using AW.Templates.Link template and header link property -

obj.setHeaderTemplate(new AW.Templates.Link, 0);

obj.setHeaderLink("http://www.google.com", 0);

obj.onHeaderClicked = function(event, col, row){
    if (col==0){
        return true; // cancel default action
    }
}


Alex (ActiveWidgets)
Saturday, March 31, 2007

This topic is archived.


Back to support forum

Forum search