protected function getTotalColumns()
    {
        $columns = $this->visibleColumns ?: $this->getVisibleColumns();
        $total = count($columns);

        if ($this->showCheckboxes) {
            $total++;
        }

        if ($this->showSetup) {
            $total++;
        }

        return $total;
    }
protected function getTotalColumns()
    {
        $columns = $this->visibleColumns ?: $this->getVisibleColumns();
        $total = count($columns);

        if ($this->showCheckboxes) {
            $total++;
        }

        if ($this->showSetup) {
            $total++;
        }

        return $total;
    }
protected function getTotalColumns ( ) { $ columns = $ this -> visibleColumns ? : $ this -> getVisibleColumns ( ) ; $ total = count ( $ columns ) ; if ( $ this -> showCheckboxes ) { $ total ++ ; } if ( $ this -> showSetup ) { $ total ++ ; } return $ total ; }
Calculates the total columns used in the list, including checkboxes
and other additions.
Calculates the total columns used in the list including checkboxes and other additions .