Class: CollectionField¶
Description¶
The CollectionField stores a list of MSON Form Components ( aka records, docs, documents) in a list mapa.
Items can be inserted, moved, reordered, etc.
Function: _create¶
-
_create()¶
Function: _listenForLoaded¶
-
_listenForLoaded()¶
Function: _onUnload¶
-
_onUnload()¶
Function: _listenForUnload¶
-
_listenForUnload()¶
Function: _resetInfiniteLoader¶
-
_resetInfiniteLoader()¶
Function: _getOrder¶
-
_getOrder()¶
Function: _getWhere¶
-
_getWhere()¶
Function: _updateInfiniteLoader¶
-
_updateInfiniteLoader()¶
Function: _handleStoreChangeFactory¶
-
_handleStoreChangeFactory()¶
Function: _setStore¶
-
_setStore()¶
Function: _clearAndGetAll¶
-
_clearAndGetAll()¶
Function: _handleShowArchivedFactory¶
-
_handleShowArchivedFactory()¶
Function: _listenForShowArchived¶
-
_listenForShowArchived()¶
Function: _toWhereFromSearchString¶
-
_toWhereFromSearchString()¶
Function: _handleSearchStringFactory¶
-
_handleSearchStringFactory()¶
Function: _listenForSearchString¶
-
_listenForSearchString()¶
Function: _handleOrderFactory¶
-
_handleOrderFactory()¶
Function: _listenForOrder¶
-
_listenForOrder()¶
Function: _handleScrollFactory¶
-
_handleScrollFactory()¶
Function: _listenForScroll¶
-
_listenForScroll()¶
Function: _onRemoveItems¶
-
_onRemoveItems()¶
Function: _onResizeSpacer¶
-
_onResizeSpacer()¶
Function: _onGetAll¶
-
_onGetAll()¶
Function: _getItemsPerPage¶
-
_getItemsPerPage()¶
Function: _createInfiniteLoader¶
-
_createInfiniteLoader()¶
Function: _listenToForm¶
-
_listenToForm()¶
Function: _notifyUI¶
-
_notifyUI()¶
Function: _addForm¶
-
_addForm()¶
Function: _produceFormAndWaitForLoad¶
-
_produceFormAndWaitForLoad()¶
Function: _produceFormWaitForLoadAndPushForm¶
-
_produceFormWaitForLoadAndPushForm()¶
Function: _onAddItems¶
-
_onAddItems()¶
Function: produce¶
-
produce()¶
Function: _addFormSynchronous¶
-
_addFormSynchronous()¶
Function: _addFormAsynchronous¶
-
_addFormAsynchronous()¶
Function: addForm¶
-
addForm()¶
Function: _clearAllFormListeners¶
-
_clearAllFormListeners()¶
Function: _validateValueType¶
-
_validateValueType()¶
Function: _setValue¶
-
_setValue()¶
Function: removeForm¶
-
removeForm()¶
Function: removeFormIfExists¶
-
removeFormIfExists()¶
Function: getForm¶
-
getForm()¶
Function: eachForm¶
-
eachForm()¶
Function: mapForms¶
-
mapForms()¶
Function: _setForAllForms¶
-
_setForAllForms()¶
Function: _setOnAllForms¶
-
_setOnAllForms()¶
Function: _prepareForm¶
-
_prepareForm()¶
Function: _copyValuesToCurrentForm¶
-
_copyValuesToCurrentForm()¶
Function: _setCurrentForm¶
-
_setCurrentForm()¶
Function: _readMode¶
-
_readMode()¶
Function: _createMode¶
-
_createMode()¶
Function: _updateMode¶
-
_updateMode()¶
Function: _emitEndEvents¶
-
_emitEndEvents()¶
Function: _setParentDisableSubmit¶
-
_setParentDisableSubmit()¶
Function: _setMode¶
-
_setMode()¶
Function: _generateForm¶
-
_generateForm()¶
Function: _setMaxColumns¶
-
_setMaxColumns()¶
Function: set¶
-
set()¶
Function: _getValue¶
-
_getValue()¶
Function: getOne¶
-
getOne()¶
Function: getForms¶
-
getForms()¶
Function: updateForm¶
-
updateForm()¶
Function: _calcValue¶
-
_calcValue()¶
Function: upsertForm¶
-
upsertForm()¶
Function: _saveForm¶
-
_saveForm()¶
Function: save¶
-
save()¶
Function: archive¶
-
archive()¶
Function: restore¶
-
restore()¶
Function: _getMaxSize¶
-
_getMaxSize()¶
Function: reachedMax¶
-
reachedMax()¶
Function: validate¶
-
validate()¶
Function: getSingularLabel¶
-
getSingularLabel()¶
Function: isBlank¶
-
isBlank()¶
Function: getUniqueItemId¶
-
getUniqueItemId()¶
Function: destroy¶
-
destroy()¶
Function: moveForm¶
Move the Form to a different location in the CollectionField’s mapa without saving changes to the Form. The schema of the form is determined by the fields array property of the CollectionField
-
moveForm(Object, Object.sourceIndex, Object.destinationIndex, Object.muteChange)¶ Arguments: - Object (Object) – Move the Form to a different location in the CollectionField’s mapa without
saving changes to the Form. The schema of the form is determined by the fields array property of the CollectionField :param number Object.sourceIndex: The index of where the form was :param number Object.destinationIndex: The index of where it is being moved to :param boolean Object.muteChange: Whether or not we notify the UI :return Object: The changed Form (record).
Function: moveAndSaveForm¶
Move the Form to a different location in the CollectionField’s mapa then save the changes to the changed Form (a.k.a. record, doc, item). The schema of the form is determined by the fields array property of the CollectionField
-
moveAndSaveForm(Object, Object.sourceIndex, Object.destinationIndex, Object.muteChange)¶ Arguments: - Object (Object) – Move the Form to a different location in the CollectionField’s mapa then save the changes
to the changed Form (a.k.a. record, doc, item). The schema of the form is determined by the fields array property of the CollectionField :param number Object.sourceIndex: The index of where the form was :param number Object.destinationIndex: The index of where it is being moved to :param boolean Object.muteChange: Whether or not we notify the UI :return Object: The newly saved Form (record).
Member: _className:
Member: SCROLLTHRESHOLD_DEFAULT:
Member: ITEMS_PER_PAGE_DEFAULT:
Member: MAX_BUFFER_PAGES_DEFAULT:
Member: MAX_ITEMS_PER_PAGE:
Member: _window:
Member: _document:
Member: _globals:
Member: _forms:
Member: _infiniteLoader:
Member: _hasTypeError: