src/Extension/ColVis.php
public function setStateChange($stateChange)
    {
        $hash = sha1($stateChange);
        $this->properties['stateChange'] = $hash;
        $this->callbacks[$hash] = $stateChange;

        return $this;
    }
public function setStateChange($stateChange)
    {
        $hash = sha1($stateChange);
        $this->properties['stateChange'] = $hash;
        $this->callbacks[$hash] = $stateChange;

        return $this;
    }
public function setStateChange ( $ stateChange ) { $ hash = sha1 ( $ stateChange ) ; $ this -> properties [ 'stateChange' ] = $ hash ; $ this -> callbacks [ $ hash ] = $ stateChange ; return $ this ; }
Set callback function to let you know when the state has changed.

@param callback $stateChange Callback function to let you know when the state has changed.

@return ColVis
@see http://datatables.net/extensions/colvis/options
Set callback function to let you know when the state has changed .