MultiListModelEditMixin Class
addon/mixins/multi-list-model.js:12
Mixin for ListFormRoute, provides data loading for multi olv.
Item Index
Methods
- actions.addColumnToSorting
- actions.applyFilters
- actions.gotoPage
- actions.loadRecords
- actions.nextPage
- actions.previousPage
- actions.refreshList
- actions.resetFilters
- actions.saveHierarchicalAttribute
- actions.showConfigDialog
- actions.sortByColumn
- actions.switchExpandMode
- actions.switchHierarchicalMode
- filterByAnyMatch
- setColumnsWidths
- userSettingsApply
Properties
Methods
actions.addColumnToSorting
-
column -
componentName -
sortPath
Add column into end list sorting.
actions.applyFilters
-
filters -
componentName
Save filters and refresh list.
actions.gotoPage
-
pageNum -
componentName
Transition to page with number.
actions.loadRecords
-
id -
target -
property -
firstRunMode -
componentName
Redirect actions into route.
Parameters:
-
idStringRecord ID.
-
targetObjectListViewRowComponentInstance of ObjectListViewRowComponent.
-
propertyStringProperty name into ObjectListViewRowComponent.
-
firstRunModeBooleanFlag indicates that this is the first download of data.
-
componentNameStringComponent name.
actions.nextPage
-
componentName
Transition to next page.
Parameters:
-
componentNameStringComponent name.
actions.previousPage
-
componentName
Transition to previous page.
Parameters:
-
componentNameStringComponent name.
actions.refreshList
-
componentName
This action is called when user click on refresh button.
Parameters:
-
componentNameStringComponent name.
actions.resetFilters
-
componentName
Reset filters and refresh list.
Parameters:
-
componentNameStringComponent name.
actions.saveHierarchicalAttribute
-
hierarchicalAttribute -
refresh -
componentName
Saves attribute name and switches the mode if necessary.
actions.showConfigDialog
-
componentName -
settingName -
useSidePageMode -
isExportExcel -
immediateExport
Show usersettings config dialog.
actions.sortByColumn
-
column -
componentName -
sortPath
Sorting list by column.
actions.switchExpandMode
-
componentName
Switch collapse/expand mode.
Parameters:
-
componentNameStringComponent name.
actions.switchHierarchicalMode
-
componentName
Switch hierarchical mode.
Parameters:
-
componentNameStringComponent name.
filterByAnyMatch
-
pattern -
filterCondition -
componentName -
filterProjectionName
Changes current pattern for objects filtering.
Parameters:
-
patternStringA substring that is searched in objects while filtering.
-
filterConditionStringCondition for predicate, can be
ororand. -
componentNameStringComponent name.
-
filterProjectionNameStringName of model projection which should be used for filtering throught search-element on toolbar. Filtering is processed only by properties defined in this projection.
setColumnsWidths
-
componentName -
columnWidths
Updates columns width in multisettings.
Flexberry Documentation