protected function addControl(Nette\Forms\Container $container, $key, $name, $options)
{
/**
* Set some translated texts
*/
$form = $container->lookup('Nette\\Application\\UI\\Form');
$t = [$form->getTranslator(), 'translate'];
$this->addAttribute('title', $t('ublaboo_datagrid.multiselect_choose'));
$this->addAttribute('data-i18n-selected', $t('ublaboo_datagrid.multiselect_selected'));
/**
* Add input to container
*/
$input = $container->addMultiSelect($key, $name, $options);
return $this->addAttributes($input);
}