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>';
}
}
]
});
Configs
81
Configs
81Common
Interaction
Set to false to prevent this column header from being dragged.
Allow filtering data in the column (if Filter feature is enabled)
Set to false to prevent grouping by this column.
Allow column visibility to be toggled through UI.
Set to false to prevent the column from being drag-resized when the ColumnResize plugin is enabled.
Allow searching in the column (respected by QuickFind and Search features)
Allow sorting of data in the column
Menu
Set to true to show a context menu on the cell elements in this column
Show column picker for the column.
Rendering
CSS class added to the header of this column
Integration
Misc
Properties
152
Properties
152Common
Class hierarchy
Interaction
Set to false to prevent this column header from being dragged.
Allow filtering data in the column (if Filter feature is enabled)
Set to false to prevent grouping by this column.
Allow column visibility to be toggled through UI.
Set to false to prevent the column from being drag-resized when the ColumnResize plugin is enabled.
Allow searching in the column (respected by QuickFind and Search features)
Allow sorting of data in the column
Menu
Set to true to show a context menu on the cell elements in this column
Show column picker for the column.
Rendering
CSS class added to the header of this column
Editing
Integration
JSON
Misc
Other
Parent & children
Functions
78
Functions
78Other
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.