:: Forum >>

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
Thursday, May 3, 2012
Which version are you using? This code is for ActiveWidgets 1.x
Alex (ActiveWidgets)
Monday, May 7, 2012
I am using AW 2.5.3
sandeep
Thursday, May 10, 2012
look inside the examples directory - the file /examples/quickref/grid.htm
Alex (ActiveWidgets)
Friday, May 11, 2012

This topic is archived.


Back to support forum

Forum search