//towards page bottom after grid object is in document
el = document.getElementById('theGrid-header-1-0');
Tuesday, February 28, 2012
The code above does not add an event handler, just an attribute with the name 'onclick'. This attribute would be converted to an event handler on the parsing of the html markup, but not when you add it as node attribute. Instead you should use addEventListener/attachEvent methods.
AW provides you with a column index which you can use for the specific actions -