grid_open

specifies the icon of the open/close sign in the tree column

Parameters

taskobjectthe task object

Example

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

See also
Back to top