Grid - Need additional action for header click
2/28/2012. For the Grid, I need one or more column headers to fire an additional individualized function when it is clicked. Ex. fooFn('theGrid-header-1-0'). I'd like to supply an individual function to each column heading (in addition to its sort functionality, not replacing or thwarting it). Cannot see in aw.js where to hook into this event - too abstracted for my brain. I inherited this project and have no prior experience with using aw.js, and not an OO coder by nature. AW ver 2.0.2. IE ver 8 & 9. Had tried to add the onclick attribute using JavaScript, and got JavaScript placed it correctly. However, even though present, this onclick event is blocked or otherwise not working.
TIA,
Sean
//towards page bottom after grid object is in document
el = document.getElementById('theGrid-header-1-0');
el.onclick="fooFn('theGrid-header-1-0')";
TIA,
Sean
SeanH
February 28,