Back: Modules
The "gantt-chart" module – is a module designed to display specific types of hierarchical data with dates.
"searchCount": 25,
"gantt-chart": {
"globals": {
"config": {
"columns": [
{
"name": "text",
"caption": "Name"
},
{
"name": "owner",
"caption": "Owner",
"align": "center",
"filter": true
},
{
"name": "priority",
"caption": "Priority",
"align": "center",
"filter": true
},
"createUrl": {
"project@project-management": "registry/project-management@eventBasic/new/eventBasic",
"event@project-management": "registry/project-management@eventBasic/new/eventBasic",
"eventObject@project-management": "registry/project-management@eventOnly/new/eventOnly",
"eventOnly@project-management": "registry/project-management@eventOnly/new/eventOnly",
"projectKNA704@project-management": "registry/project-management@eventKNA704/new/eventKNA704",
"eventKNA704@project-management": "registry/project-management@eventOnlyKNA704/new/eventOnlyKNA704",
"eventObjectKNA704@project-management": "registry/project-management@eventOnlyKNA704/new/eventOnlyKNA704",
"eventOnlyKNA704@project-management": "registry/project-management@eventOnlyKNA704/new/eventOnlyKNA704"
},
"preConfigurations": {
"config1": {
"caption": "Main",
"showPlan": true,
"units": "month",
"step": 3,
"days_mode": "full",
"hours_mode": "full",
"default": true
},
"config2": {
"caption": "Extended",
"showPlan": false,
"units": "year",
"days_mode": "full",
"hours_mode": "work",
"columnDisplay": {
"text": true,
"owner": true
},
"filters": {
"priority": "High"
}
},
"config3": {
"caption": "Review",
"showPlan": true,
"units": "year",
"step": 5,
"days_mode": "full",
"hours_mode": "full",
"columnDisplay": {
"text": true,
"owner": true,
"priority": true
},
"filters": {
"priority": "Regular"
}
}
},
Set the property and values for the filter in the filters
field.
In formulas in the general syntax of expressions, you can now access the context data. Currently it works only for lists in register and gant. As we move to a common syntax, we implement support throughout the core.
The adjustable filter is not applied to the root object explicitly specified via the URL parameter, or selected in the drop-down list. The filter is applied only at the SELECTION of the subnodes.
When displaying the project, the events are sorting by the numEvent attribute at all levels of hierarchy
"sortBy": "numEvent"
// or
"sortBy": {"numEvent": -1, "anyOtherAttr": 1}
It is used if the filter is configured for a column and allows you not to display all objects at once, but choose from the list. If the "rootParamNeeded"
value is true, then a blank screen and a window for selecting a project are displayed.
"gantt-chart": {
"globals": {
"rootParamNeeded": true
}
}
Copyright (c) 2018 LLC "ION DV".
All rights reserved.