public function setFitContent($fit_content = TRUE) { $fit_content ? $this->addAttributes(['class' => 'datagrid-fit-content']) : NULL; return $this; }