父任务控件
该控件提供一个下拉选择框,用于更改任务的父任务。它会加载甘特图中展示的所有任务,并支持应用过滤规则以及自定义选项的显示方式。除此之外,其使用方式与 Select Control 控件相同。

gantt.config.lightbox.sections = [
{name:"description", height:38, map_to:"text", type:"textarea", focus:true},
{name:"parent", type:"parent", allow_root:"true", root_label:"No parent"}, /*!*/
{name:"time", height:72, type:"time", map_to:"auto"}
];