public function getColumnsCount()
	{
		$count = sizeof($this->getColumns());

		if (!empty($this->actions)
			|| $this->isSortable()
			|| $this->getItemsDetail()
			|| $this->getInlineEdit()
			|| $this->getInlineAdd()) {
			$count++;
		}

		if ($this->hasGroupActions()) {
			$count++;
		}

		return $count;
	}
public function getColumnsCount()
	{
		$count = sizeof($this->getColumns());

		if (!empty($this->actions)
			|| $this->isSortable()
			|| $this->getItemsDetail()
			|| $this->getInlineEdit()
			|| $this->getInlineAdd()) {
			$count++;
		}

		if ($this->hasGroupActions()) {
			$count++;
		}

		return $count;
	}
public function getColumnsCount ( ) { $ count = sizeof ( $ this -> getColumns ( ) ) ; if ( ! empty ( $ this -> actions ) || $ this -> isSortable ( ) || $ this -> getItemsDetail ( ) || $ this -> getInlineEdit ( ) || $ this -> getInlineAdd ( ) ) { $ count ++ ; } if ( $ this -> hasGroupActions ( ) ) { $ count ++ ; } return $ count ; }
Get count of columns
@return int
Get count of columns