FlexberryGroupeditRouteMixin Class
Mixin for DS.Route to support work with FlexberryGroupeditComponent.
Item Index
Methods
Methods
_rowAdded
-
componentName -
record
Event handler for "row has been selected" event in FlexberryGroupeditComponent.
Parameters:
-
componentNameStringThe name of FlexberryGroupeditComponent.
-
recordDS.ModelThe model corresponding to added row in FlexberryGroupeditComponent.
_rowChanged
-
componentName
Event handler for "model(s) corresponding to some row(s) was changed" event in FlexberryGroupeditComponent.
Parameters:
-
componentNameStringThe name of FlexberryGroupeditComponent.
_rowDeleted
-
componentName -
record
Event handler for "row has been deleted" event in FlexberryGroupeditComponent.
Parameters:
-
componentNameStringThe name of FlexberryGroupeditComponent.
-
recordDS.ModelThe model corresponding to deleted row in FlexberryGroupeditComponent.
actions.groupEditRowClick
-
record -
[options]
FlexberryGroupeditComponent row click handler.
It sets modelNoRollBack to true at current controller, redirects to detail's route, save necessary data to service.
Parameters:
-
recordEmberObjectRecord related to clicked table row.
-
[options]Object optionalRecord related to clicked table row.
-
saveBeforeRouteLeaveBooleanFlag: indicates whether to save current model before going to the detail's route.
-
editOnSeparateRouteBooleanFlag: indicates whether to edit detail on separate route.
-
modelNameStringClicked detail model name (used to create record if record is undefined).
-
detailArrayArrayCurrent detail array (used to add record to if record is undefined).
-
editFormRouteBooleanPath to detail's form.
-
activate
()
This hook is executed when the router enters the route. It is not executed when the model for the route changes.
It is used to subscribe on FlexberryGroupeditComponent events.
deactivate
()
This hook is executed when the router completely exits this route. It is not executed when the model for the route changes.
It is used to unsubscribe from FlexberryGroupeditComponent events.
Properties
_groupEditEventsService
Service
private
Service that triggers FlexberryGroupeditComponent events.
Default: ObjectlistviewEventsService
flexberryDetailInteractionService
Service
Service that lets interact between agregator's and detail's form.
Default: DetailInteractionService
Flexberry Documentation