how to add hyperlink in column header


I want to add hyperlink in column header.I have used below code,


But it is not working.

Can u tell what is the exact syntax to be used??

The above code must work correctly, you can include any HTML inside header of grid.
Beware , if you are using commas inside “javascript:function” it may be a problem ( commas used to separater values for different columns )
By the way, if you need to implement some kind of custom reaction on click inside header, you can use onHeaderClick event.