3.2.0

call a function when a column header is clicked

Hi

Can some help me out on how to call a function when a column header is clicked. Actually i want to write a custom sort function and wants it to be called when a column header is clicked.

I tried the below code but is gives me error "Active is undefined"

var header = new Active.Templates.Item;
gMcGrid.setEvent("onmousedown", testfunc);
gMcGrid.setTemplate("top/item", header);
sandeep
May 3,
Which version are you using? This code is for ActiveWidgets 1.x
Alex (ActiveWidgets)
May 7,
I am using AW 2.5.3
sandeep
May 10,
look inside the examples directory - the file /examples/quickref/grid.htm
Alex (ActiveWidgets)
May 11,

This topic is archived.

See also:


Back to support forum