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....
});
See also
- ViewPreset - View preset configuration
- PresetManager - Built-in presets
- Scheduler - Scheduler widget
No results
Configs
Configs are options you supply in a configuration object when creating an instance of this classProperties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of PresetStore class, or subclass thereof.
-
Identifies an object as an instance of PresetStore class, or subclass thereof.