public function view($tableView = null, $scriptView = null)
{
if (is_null($tableView)) {
$tableView = $this->versionEngine->getVersion()->tableView();
}
if (is_null($scriptView)) {
$scriptView = $this->versionEngine->getVersion()->scriptView();
}
return new DatatableView($tableView, $scriptView, $this->viewFactory, $this->configRepository, []);
}