v7.3.0

ResourceTickModel
internal

This class represents a named resource tick. It is used by the TickCells feature.

This class inherits most of its fields from TimeSpan. The most important of these fields are the following:

  • startDate - start date of the tick in the ISO 8601 format
  • endDate - end date of the tick in the ISO 8601 format (not inclusive)
  • duration - duration, time between start date and end date
  • durationUnit - unit used to express the duration

It's an indirect subclass of Model. Please refer to documentation of those classes to become familiar with the base interface of this class. The data source of any field can be customized in the subclass. Please refer to Model for details.

const store = new ResourceTickStore({
    data : [{        {
        id             : 1,
        startDate      : '2019-01-01T11:00',
        value          : 2,
           resourceId     : 1,
           durationUnit   : 'day',
           duration       : 1
    }]
});
No results

Fields

Fields belong to a Model class and define the Model data structure

Properties

Properties are getters/setters or publicly accessible variables on this class

Source path

Scheduler/model/ResourceTickModel.js

Contents