3.2.0

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
March 28,
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)
March 31,

This topic is archived.

See also:


Back to support forum