v7.3.0

LockRows
Feature

This feature allows resources which satisfy a certain condition to be locked at the top of the scheduler.

By default, the condition is that a certain named field have a truthy value. The field which decides this status defaults to 'fixed', but that is configurable using the fieldName property.

When used with fieldName, the CellMenu context menu appears with an extra option to toggle the value of that field in the contextual record.

For more granular control, use the filterFn to decide which records should be locked.

Please note that this feature will not work with the Split feature.

Caveats

This features utilizes the Split feature behinds the scenes to create a split view of the scheduler. Each part of the view is a separate scheduler instance, which means that certain operations are limited to one part of it at the time. Unsupported features:

  • Drag selection and shift + click selection.
  • Dependencies between events in different split sections
  • Summary feature
  • RowReorder feature: Rows cannot be dragged between different sections
  • TimeSelection feature
  • PdfExport feature
  • Export to Excel
  • Scheduler Pro: TimeSpanHighlight feature
  • Scheduler Pro: CalendarHighlight feature
  • Tree

This feature is disabled by default.

See also

No results

Properties

Properties are getters/setters or publicly accessible variables on this class
  • isLockRows : Booleantrue
    READONLY
    static
    ADVANCED
    Identifies an object as an instance of LockRows class, or subclass thereof.
id: lockRows

Source path

Scheduler/feature/LockRows.js

Demo

examples/lock-rows

Contents