PresetStore

A special Store subclass which holds ViewPresets. Each ViewPreset in this store represents a zoom level. The store data is sorted in special zoom order. That is zoomed out to zoomed in. The first Preset will produce the narrowest event bars the last one will produce the widest event bars.

To specify view presets (zoom levels) please provide set of view presets to the scheduler:

const myScheduler = new Scheduler({
    presets : [
        {
            base : 'hourAndDay',
            id   : 'MyHourAndDay',
            // other preset configs....
        },
        {
            base : 'weekAndMonth',
            id   : 'MyWeekAndMonth',
            // other preset configs....
        }
    ],
    viewPreset : 'MyHourAndDay',
    // other scheduler configs....
    });

Configs

57

Common

autoCommitStoreCRUD
dataStore
fieldsStore
groupersStoreGroup
idStore
listenersEvents
sortersStoreSort

Other

zoomOrder: Number= 1

Specifies the sort order of the presets in the store. By default they are in zoomed out to zoomed in order. That is presets which will create widest event bars to presets which will produce narrowest event bars.

Configure this as -1 to reverse this order.

useSparseIndexStoreSparseIndex

Advanced

stmStoreStm
storageStore
useLocaleSortStoreSort

Chained store

chainedFieldsStoreChained
chainedFilterFnStoreChained
chainFiltersStoreChained
dontRelayToMasterStoreChained
doRelayToMasterStoreChained
ignoreLinkRecordsStoreChained
masterStoreStoreChained
syncOrderStoreChained
syncSortStoreChained

Filtering

filtersStoreFilter
remoteFilterStoreFilter

Misc

Paging

pageParamNameStorePaging
pageSizeStorePaging
remotePagingStorePaging

Records

Remote

filterParamNameStoreFilter

Sorting

remoteSortStoreSort
sortParamNameStoreSort

Tree

treeStore

Properties

61

Common

idStore

Class hierarchy

isPresetStore: Boolean= truereadonly
Identifies an object as an instance of PresetStore class, or subclass thereof.
isPresetStore: Boolean= truereadonlystatic
Identifies an object as an instance of PresetStore class, or subclass thereof.
isEventsEvents
isStoreStore
isStoreChainedStoreChained
isStoreChangesStoreChanges
isStoreCRUDStoreCRUD
isStoreFilterStoreFilter
isStoreGroupStoreGroup
isStorePagingStorePaging
isStoreRelationStoreRelation
isStoreSearchStoreSearch
isStoreSortStoreSort
isStoreSparseIndexStoreSparseIndex
isStoreStateStoreState
isStoreStmStoreStm
isStoreSumStoreSum
isStoreSyncStoreSync
isStoreTreeStoreTree

Advanced

isChainedStoreChained
StopBranchstaticStoreTree

Filtering

Lifecycle

configBase

Misc

Other

currentPageStorePaging
jsonStore
storesstaticStore

Paging

isPagedStorePaging
lastPageStorePaging
pageSizeStorePaging

Records

autoCommitStoreCRUD
changesStoreCRUD
countStore
dataStore
firstStore
hasChangesStoreCRUD
lastStore
recordsStore

Sort, group & filter

filtersStoreFilter
groupersStoreGroup
isFilteredStoreFilter
isGroupedStoreGroup
isSortedStoreSort
sortersStoreSort

Tree

isTreeStoreTree
leavesStoreTree

Functions

98

Chained store

chainStoreChained
chainTreeStoreChained
fillFromMasterStoreChained

Configuration

applyDefaultsstaticBase

CRUD

addStoreCRUD
applyChangesetStoreChanges
commitStoreCRUD
insertStoreCRUD
loadPageStorePaging
moveStoreCRUD
nextPageStorePaging
previousPageStorePaging
removeStoreCRUD
removeAllStoreCRUD
revertChangesStoreCRUD

Events

Iteration

everyStore
flatMapStore
forEachStore
mapStore
reduceStore

Lifecycle

destroystaticBase

Misc

initClassstaticBase
isOfTypeNamestaticBase
mixinstaticBase

Other

getStorestaticStore
onEvents
relayAllEvents
toJSONStore
triggerEvents
unEvents

Records

getAtStore
getByIdStore
indexOfStore

Search

findStoreSearch
findByFieldStoreSearch
findRecordStoreSearch
queryStoreSearch
searchStoreSearch
someStoreSearch

Sort, group & filter

addFilterStoreFilter
addSorterStoreSort
clearFiltersStoreFilter
clearGroupersStoreGroup
clearSortersStoreSort
filterStoreFilter
filterByStoreFilter
getGroupRecordsStoreGroup
getGroupTitlesStoreGroup
groupStoreGroup
isRecordInGroupStoreGroup
removeFilterStoreFilter
removeSorterStoreSort
setGroupersStoreGroup
sortStoreSort

Sum

averageStoreSum
groupSumStoreSum
maxStoreSum
minStoreSum
sumStoreSum

Traverse

getNextStore
getPrevStore

Tree

getChildrenStoreTree
indentStoreTree
loadChildrenStoreTree
outdentStoreTree

Values

Events

34
addStoreCRUD
beforeAddStoreCRUD
beforeCommitStoreCRUD
beforeFilterStoreFilter
beforeIndentStoreTree
beforeLoadPageStorePaging
beforeOutdentStoreTree
beforeRemoveStoreCRUD
beforeSortStoreSort
catchAllEvents
changeStore
commitStoreCRUD
destroyEvents
filterStoreFilter
groupStoreGroup
indentStoreTree
loadPageStorePaging
moveStore
outdentStoreTree
refreshStore
removeStoreCRUD
removeAllStoreCRUD
sortStoreSort
updateStore

Event handlers

34
onAddStoreCRUD
onBeforeAddStoreCRUD
onBeforeFilterStoreFilter
onBeforeLoadPageStorePaging
onBeforeSortStoreSort
onCommitStoreCRUD
onDestroyEvents
onFilterStoreFilter
onGroupStoreGroup
onIndentStoreTree
onLoadPageStorePaging
onMoveStore
onOutdentStoreTree
onRemoveStoreCRUD
onRemoveAllStoreCRUD
onSortStoreSort

Typedefs

8