3.2.0

Adding a clickable image in a header cell

I want to place an image to the right of my header cell text. If I click on the header text, the normal sort behavior would occur. However, if I click on the image, I want to call a javascript function. Can anyone help with this?
Joel
September 12,
I am looking for the same thing
Colin P.
January 10,
The header template already has image element so you can just assign image name to the header -

obj.setHeaderImage("favorites", col); // AW.UI.Grid
obj.setHeaderImage("favorites", col, row); // AW.Grid.Extended

http://www.activewidgets.com/grid.howto.cells/images.html

or maybe this one will help as well -

http://www.activewidgets.com/grid.examples/indicator-template.html
Alex (ActiveWidgets)
January 10,

This topic is archived.

See also:


Back to support forum