private function getSelectionMode()
    {
        if (null !== $mode = $this->config->getSelectionMode()) {
            return $mode;
        }

        if ($this->config->isBatchable() && !empty($this->actions)) {
            return Util\Config::SELECTION_MULTIPLE;
        }

        if ($this->config->isExportable() && $this->config->hasExportAdapters()) {
            return Util\Config::SELECTION_MULTIPLE;
        }

        return null;
    }