EditableRepeater is extension of Repeater
Requirements
- See Repeater requirements
- Bound model should be observableArray or observable with corresponding array methods attached to that observable itself
- Additional requirements can be imposed by parameters, see parameters section for details
Parameters
Parameter | Type | Description |
---|---|---|
needsItemModelLegacyMixin | Boolean | Enables/disables legacy item model repeater mixin. Calls of legacy mixin methods should be replaced with calls of [item model repeater mixin]. Default: true but will be replaced with false |
appendEmptyLine | Boolean | Enables/disables automatic append of an empty line when last line is not empty anymore. Default: false. Requirements:
|
removeEmptyLines | Boolean | Enables/disables automatic removal of empty lines added by appendEmptyLine from data sent to server on save. Is applicable only when appendEmptyLine is true and only for auto appended lines. Default: true |
alwaysReadOnly | Boolean | Enables/disables always read only mode. When flag is set to true, readOnly property of model is ignored and repeater is always in read only mode. Default: false. In read only mode:
|
Add standard action menu to your repeater
Place a button or a popup with ID action in your item template (the button's dataBind attribute should be empty).