rem: init(); 
add:  var id = dwr.util.getValue("cslist"); var isArrayDesign = id === ""; init(isArrayDesign);  
context: Ext.onReady(function() {	init();	initDetails();		var cm = new Ext.grid.ColumnModel([			{header: "ArrayDesign", width: 100, dataIndex:"arrayDesignName", renderer: arraylink },			{header: "Probe Name",  width: 130, dataIndex:"compositeSequenceName", renderer: probelink}, 			{header: "Sequence", width: 130, dataIndex:"bioSequenceName" },			{header: "#Hits", width: 50, dataIndex: "numBlatHits"},  			{header: "Genes", width: 130, dataIndex:"genes" }			//{header: "Products", width: 140, dataIndex:"geneProducts"  }			]);	cm.defaultSortable = true;	cm.setColumnTooltip(0, "Name of array design (click for details - leaves this page)");	cm.setColumnTooltip(1, "Name of probe (click for details)");	cm.setColumnTooltip(2, "Name of sequence");	cm.setColumnTooltip(3, "Number of high-quality BLAT alignments");	grid = new Ext.grid.Grid("probe-grid", {ds:ds, cm:cm, loadMask: true });		    // make the grid resizable, do before render for better performance    var rz = new Ext.Resizable("probe-grid", {        wrap:true,        minHeight:100,        pinned:true,        handles: 's'    });    rz.on('resize', grid.autoSize, grid);		grid.render();			var id = dwr.util.getValue("cslist");	showprobes(id);	});
meta: 2891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2891/a0db0cd92ed33e7a0dc87486e01b4421ab0b380c/probe.grid.js/clean/gemma-web/src/main/webapp/scripts/ajax/probe.grid.js