public function redrawRow($primaryValue)
{
if ($this->presenter->isAjax()) {
if (isset($this->filterDataSource[$this->rowPrimaryKey])) {
$this->filterDataSource = [$this->rowPrimaryKey => $this->filterDataSource[$this->rowPrimaryKey]];
if (is_string($this->filterDataSource[$this->rowPrimaryKey])) {
$this->filterDataSource[$this->rowPrimaryKey] = [$this->filterDataSource[$this->rowPrimaryKey]];
}
} else {
$this->filterDataSource = [];
}
$this->filterDataSource[$this->rowPrimaryKey][] = $primaryValue;
parent::redrawControl('rows');
$this->redrawControl('rows-' . $primaryValue);
}
}