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);
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,