add: dojo.event.connect(body, "onclick", this, "onSelect"); 
context: 	postCreate: function(){		//	summary		//	finish widget initialization.		this.store.keyField = this.valueField;		if(this.domNode){			//	start by making sure domNode is a table element;			if(this.domNode.nodeName.toLowerCase() != "table"){			}			//	see if there is columns set up already			if(this.domNode.getElementsByTagName("thead")[0]){				var head=this.domNode.getElementsByTagName("thead")[0];				if(this.headClass.length > 0){					head.className = this.headClass;				}				dojo.html.disableSelection(this.domNode);				this.parseMetadata(head);				var header="td";				if(head.getElementsByTagName(header).length==0){					header="th";				}				var headers = head.getElementsByTagName(header);				for(var i=0; i<headers.length; i++){					if(!this.columns[i].noSort){						dojo.event.connect(headers[i], "onclick", this, "onSort");					}				}			} else {				this.domNode.appendChild(document.createElement("thead"));			}			// if the table doesn't have a tbody already, add one and grab a reference to it			if (this.domNode.tBodies.length < 1) {				var body = document.createElement("tbody");				this.domNode.appendChild(body);			} else {				var body = this.domNode.tBodies[0];			}			if (this.tbodyClass.length > 0){				body.className = this.tbodyClass;			}			this.parseData(body);		}	}
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/FilteringTable.js/clean/www/resources/dojo-ajax/src/widget/FilteringTable.js