public function handleEditableControl($value)
{
$this->grid->onRender($this->grid);
if (!$this->presenter->isAjax() || !$this->isEditable()) {
$this->presenter->terminate();
}
$control = $this->getEditableControl();
$control->setValue($value);
$this->getForm()->addComponent($control, 'edit' . $this->getName());
$response = new \Nette\Application\Responses\TextResponse($control->getControl()->render());
$this->presenter->sendResponse($response);
}