Ajax/common/Widget.php
public function setValueFunction($index,$callback){
		$index=$this->_getIndex($index);
		if($index!==false){
			$this->_instanceViewer->setValueFunction($index, $callback);
		}
		return $this;
	}
public function setValueFunction($index,$callback){
		$index=$this->_getIndex($index);
		if($index!==false){
			$this->_instanceViewer->setValueFunction($index, $callback);
		}
		return $this;
	}
public function setValueFunction ( $ index , $ callback ) { $ index = $ this -> _getIndex ( $ index ) ; if ( $ index !== false ) { $ this -> _instanceViewer -> setValueFunction ( $ index , $ callback ) ; } return $ this ; }
Defines the function which displays the field value
@param int|string $index index or name of the field to display
@param callable $callback function parameters are : $value : the field value, $instance : the active instance of model, $fieldIndex : the field index, $rowIndex : the row index
@return Widget
Defines the function which displays the field value