|
|
|
@ -225,6 +225,7 @@ async function initGanttSettings() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
B |
|
|
|
|
|
|
|
|
|
function expandTask() { |
|
|
|
|
gantt.eachTask(function (task) { |
|
|
|
@ -234,6 +235,7 @@ function expandTask() {
|
|
|
|
|
toggleTasks = "Collapse"; |
|
|
|
|
$("#gantt_toggle_task_btn").prop('title', 'Collapse Activities'); |
|
|
|
|
$("#gantt_toggle_task_btn").children().removeClass('fa-expand-alt'); |
|
|
|
|
B |
|
|
|
|
$("#gantt_toggle_task_btn").children().addClass('fa-compress-alt'); |
|
|
|
|
gantt.render(); |
|
|
|
|
} |
|
|
|
@ -253,6 +255,7 @@ function toggleCollapseTasks() {
|
|
|
|
|
updateProperty({ task_open: false }) |
|
|
|
|
toggleTasks = "Expand"; |
|
|
|
|
$("#gantt_toggle_task_btn").prop('title', 'Expand Activities'); |
|
|
|
|
B |
|
|
|
|
$("#gantt_toggle_task_btn").children().removeClass('fa-compress-alt'); |
|
|
|
|
$("#gantt_toggle_task_btn").children().addClass('fa-expand-alt'); // change icon to expand
|
|
|
|
|
} |
|
|
|
@ -262,9 +265,11 @@ function toggleCollapseTasks() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Function Show / Hide Columns
|
|
|
|
|
B |
|
|
|
|
function getColumnsSelection(node) { |
|
|
|
|
var selectedColumns = node.querySelectorAll(":checked"); |
|
|
|
|
var unselectedColumn = node.querySelectorAll('input[type="checkbox"]:not(:checked)'); |
|
|
|
|
// B
|
|
|
|
|
// var allSelected = node.querySelector("#check-all").prop('checked');
|
|
|
|
|
var checkedColumns = {}; |
|
|
|
|
selectedColumns.forEach(function (node) { |
|
|
|
@ -509,3 +514,4 @@ async function setSynchronizeAPI() {
|
|
|
|
|
} |
|
|
|
|
gantt.render(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|