rem: this.on( "afteredit", function( e ) { var col = this.getColumnModel().getColumnId( e.column ); if ( col == CATEGORY_COLUMN ) { var f = this.categoryCombo.getTerm.bind( this.categoryCombo ); var term = f(); e.record.set( "className", term.term ); e.record.set( "classUri", term.uri ); } else if ( col == VALUE_COLUMN ) { var f = this.valueCombo.getCharacteristic.bind( this.valueCombo ); var c = f(); e.record.set( "termName", c.value ); e.record.set( "termUri", c.valueUri ); } this.getView().refresh(); } ); 
add: this.on( "celldblclick", function ( grid, rowIndex, cellIndex ) { var record = grid.getStore().getAt( rowIndex ); var column = grid.getColumnModel().getColumnId( cellIndex ) if ( column == PARENT_COLUMN ) { record.expanded = record.expanded ? 0 : 1; grid.getView().refresh( true ); } }, this ); 
context: 		this.on( "afteredit", function( e ) {			var col = this.getColumnModel().getColumnId( e.column );			if ( col == CATEGORY_COLUMN ) {				var f = this.categoryCombo.getTerm.bind( this.categoryCombo );				var term = f();				e.record.set( "className", term.term );				e.record.set( "classUri", term.uri );			} else if ( col == VALUE_COLUMN ) {				var f = this.valueCombo.getCharacteristic.bind( this.valueCombo );				var c = f();				e.record.set( "termName", c.value );				e.record.set( "termUri", c.valueUri );			}			this.getView().refresh();		} );
meta: 2891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2891/d109eea1e59fbb030ac98e95f181f72da9611a48/AnnotationGrid.js/clean/gemma-web/src/main/webapp/scripts/ajax/annotation/AnnotationGrid.js