v7.3.0

TimeAxisColumn

A column containing the timeline "viewport", in which events, dependencies etc. are drawn. Normally you do not need to interact with or create this column, it is handled by Scheduler.

If you wish to output custom contents inside the time axis row cells, you can provide your custom column configuration using the renderer like so:

const scheduler = new Scheduler({
   appendTo         : document.body
   columns          : [
      { text : 'Name', field : 'name', width : 130 },
      {
          type : 'timeAxis',
          renderer({ record, cellElement }) {
              return '<div class="cool-chart"></div>';
          }
      }
   ]
});

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class

Properties

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

Functions

Functions are methods available for calling on the class
    • Refreshes the columns header contents (which is either a HorizontalTimeAxis or a ResourceHeader). Useful if you have rendered some extra meta data that depends on external data such as the EventStore or ResourceStore.

    type: timeAxis

    Source path

    Scheduler/column/TimeAxisColumn.js

    Contents