protected function configureOptions(OptionsInterface $options)
{
$eventHandlers = $options->getEventHandlers();
$eventHandlers->add(new LoadEventHandler(['function' => $this->getJavascriptFunctionName('load'), 'route' => $this->getActionUrl('grid')]));
$eventHandlers->add(new ClickRowEventHandler(['function' => $this->getJavascriptFunctionName('click'), 'route' => $this->getActionUrl('edit')]));
$eventHandlers->add(new CustomRowEventHandler(['function' => $this->getJavascriptFunctionName('install'), 'function_name' => 'installPackage', 'row_action' => 'action_installPackage']));
$eventHandlers->add(new CustomRowEventHandler(['function' => $this->getJavascriptFunctionName('update'), 'function_name' => 'updatePackage', 'row_action' => 'action_updatePackage']));
$eventHandlers->add(new CustomRowEventHandler(['function' => $this->getJavascriptFunctionName('remove'), 'function_name' => 'removePackage', 'row_action' => 'action_removePackage']));
}