rem: dojo.event.connect(row, "onclick", this, "onSelect"); 
context: 	init: function(){		//	summary		//	initializes the table of data		this.isInitialized=false;		//	if there is no thead, create it now.		var head=this.domNode.getElementsByTagName("thead")[0];		if(head.getElementsByTagName("tr").length == 0){			//	render the column code.			var row=document.createElement("tr");			for(var i=0; i<this.columns.length; i++){				var cell=document.createElement("td");				cell.setAttribute("align", this.columns[i].align);				cell.setAttribute("valign", this.columns[i].valign);				dojo.html.disableSelection(cell);				cell.innerHTML=this.columns[i].label;				row.appendChild(cell);				//	attach the events.				if(!this.columns[i].noSort){					dojo.event.connect(cell, "onclick", this, "onSort");				}			}			dojo.html.prependChild(row, head);		}				if(this.store.get().length == 0){			return false;		}		var idx=this.domNode.tBodies[0].rows.length;		if(!idx || idx==0 || this.domNode.tBodies[0].rows[0].getAttribute("emptyRow")=="true"){			idx = 0;			var body = this.domNode.tBodies[0];			while(body.childNodes.length>0){				body.removeChild(body.childNodes[0]);			}			var data = this.store.get();			for(var i=0; i<data.length; i++){				var row = this.createRow(data[i]);				dojo.event.connect(row, "onclick", this, "onSelect");				body.appendChild(row);				idx++;			}		}		//	add empty rows		if(this.minRows > 0 && idx < this.minRows){			idx = this.minRows - idx;			for(var i=0; i<idx; i++){				row=document.createElement("tr");				row.setAttribute("emptyRow","true");				for(var j=0; j<this.columns.length; j++){					cell=document.createElement("td");					cell.innerHTML="&nbsp;";					row.appendChild(cell);				}				body.appendChild(row);			}		}		//	last but not least, show any columns that have sorting already on them.		var row=this.domNode.getElementsByTagName("thead")[0].rows[0];		var cellTag="td";		if(row.getElementsByTagName(cellTag).length==0) cellTag="th";		var headers=row.getElementsByTagName(cellTag);		for(var i=0; i<headers.length; i++){			dojo.html.setClass(headers[i], this.headerClass);		}		for(var i=0; i<this.sortInformation.length; i++){			var idx=this.sortInformation[i].index;			var dir=(~this.sortInformation[i].direction)&1;			dojo.html.setClass(headers[idx], dir==0?this.headerDownClass:this.headerUpClass);		}		this.isInitialized=true;		return this.isInitialized;	},
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