grid_folder

specifies the icon of parent items in the tree column

Parameters

taskobjectthe task object

Example

gantt.templates.grid_folder = function(item) {
    return "<div class='gantt_tree_icon gantt_folder_" +
    (item.$open ? "open" : "closed") + "'></div>";
};

See also
Back to top