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:
-
componentName
StringThe name of FlexberryGroupeditComponent.
-
record
DS.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:
-
componentName
StringThe name of FlexberryGroupeditComponent.
_rowDeleted
-
componentName
-
record
Event handler for "row has been deleted" event in FlexberryGroupeditComponent.
Parameters:
-
componentName
StringThe name of FlexberryGroupeditComponent.
-
record
DS.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:
-
record
EmberObjectRecord related to clicked table row.
-
[options]
Object optionalRecord related to clicked table row.
-
saveBeforeRouteLeave
BooleanFlag: indicates whether to save current model before going to the detail's route.
-
editOnSeparateRoute
BooleanFlag: indicates whether to edit detail on separate route.
-
modelName
StringClicked detail model name (used to create record if record is undefined).
-
detailArray
ArrayCurrent detail array (used to add record to if record is undefined).
-
editFormRoute
BooleanPath 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