rem: Ext.onReady(function() {  var id = dwr.util.getValue("cslist"); var isArrayDesign = id === ""; init(isArrayDesign);  initDetails();  if (Ext.get("probe-grid") === null ) { return; }  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" }  ]); 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 });   var rz = new Ext.Resizable("probe-grid", { wrap:true, minHeight:100, pinned:true, handles: 's' }); rz.on('resize', grid.autoSize, grid);  grid.render();  if (isArrayDesign) { id = dwr.util.getValue("arrayDesignId"); showArrayDesignProbes(id); } else { showprobes(id); }  }); 
add: paging.getEl().select("input,a,button").each(function(e){e.dom.disabled=true;}); 
context: Ext.onReady(function() {	var id = dwr.util.getValue("cslist");	var isArrayDesign = id === "";	init(isArrayDesign);		initDetails();		if (Ext.get("probe-grid") === null ) { return; }	 	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();		if (isArrayDesign) {		id = dwr.util.getValue("arrayDesignId");		showArrayDesignProbes(id);	} else {		showprobes(id);	}	});
meta: 2891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2891/08a287bbc6a6bdffb97e6b56982caa3ab2c87010/probe.grid.js/buggy/gemma-web/src/main/webapp/scripts/ajax/probe.grid.js