v7.3.0
SupportExamplesFree Trial

NewTaskRendering
internal

Handles rendering of tasks, using the following strategy:

  1. When a row is rendered, it collects a DOM config for its task bar and stores in a map (row -> config)
  2. When a rendering pass is done, it syncs the DOM configs from the map to DOM

The need for caching with this approach is minimal, only the map needs to be kept up to date with available rows.

No results

Properties

Properties are getters/setters or publicly accessible variables on this class
  • isNewTaskRendering : Booleantrue
    READONLY
    static
    ADVANCED
    Identifies an object as an instance of NewTaskRendering class, or subclass thereof.
  • properties : Object
    internal
    static
    Base

    A class property getter for the default values of internal properties for this class.

  • emptyArray : Array
    internal
    READONLY
    Base

    An empty array that can be used as a default value.

  • emptyObject : Object
    internal
    READONLY
    Base

    An empty object that can be used as a default value.

  • isNewTaskRendering : Booleantrue
    READONLY
    ADVANCED
    Identifies an object as an instance of NewTaskRendering class, or subclass thereof.
  • config : Object
    READONLY
    ADVANCED
    Base

    Returns a copy of the full configuration which was used to configure this object.

  • isConstructing : Boolean
    READONLY
    ADVANCED
    Base

    This property is set to true before the constructor returns.

  • isDestroying : Boolean
    READONLY
    ADVANCED
    Base

    This property is set to true on entry to the destroy method. It remains on the objects after returning from destroy(). If isDestroyed is true, this property will also be true, so there is no need to test for both (for example, comp.isDestroying || comp.isDestroyed).

Functions

Functions are methods available for calling on the class
  • onClassMixedIn( )
    internal
    static
    Base

    This optional class method is called when a class is mixed in using the mixin() method.

  • initClass( )
    static
    ADVANCED
    Base

    Registers this class type with its Factory

Source path

Gantt/view/orientation/NewTaskRendering.js

Contents