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