Action_Helper_Datatable::toggleAutomaticWidth PHP Method

toggleAutomaticWidth() public method

Toggle automatic width
public toggleAutomaticWidth ( boolean $p_state = null ) : Action_Helper_Datatable
$p_state boolean null
return Action_Helper_Datatable
    public function toggleAutomaticWidth($p_state = null)
    {
        if (!is_null($p_state)) {
            $this->iOptions['bAutoWidth'] = $p_state;
        }
        // return this for chaining mechanism
        return $this;
    }