/** * {@inheritdoc} */ protected function configureOptions(OptionsInterface $options) { parent::configureOptions($options); $eventHandlers = $options->getEventHandlers(); $eventHandlers->add(new ProcessEventHandler(['function' => $this->getJavascriptFunctionName('process')])); $eventHandlers->add(new LoadedEventHandler(['function' => $this->getJavascriptFunctionName('data_loaded')])); }
/** * {@inheritdoc} */ protected function configureOptions(OptionsInterface $options) { parent::configureOptions($options); $eventHandlers = $options->getEventHandlers(); $eventHandlers->add(new UpdateRowEventHandler(['function' => $this->getJavascriptFunctionName('update'), 'route' => $this->getActionUrl('update')])); }