如何配置点击列表中的某一行自定义展示快速信息


#1

我想要实现自定义的展示内容,我在配置过程中遇到了错误,不知道从哪里解决,我的配置代码如下:

gantt.plugins({
quick_info: true,
});
gantt.config.quick_info_content = “test”;
gantt.config.quick_info_title = function(start,end,task) {
return task.name;
};


浏览器的控制台中报了上图中的错误


#2

Hello,
Please, ask questions only in English!

When I add your code in the snippet, I don’t see any errors:
http://snippet.dhtmlx.com/5/e692469e8

The following article describes the Quick Info API and how to show custom content:
https://docs.dhtmlx.com/gantt/desktop__quick_info.html
Here are examples:
http://snippet.dhtmlx.com/5/a0c515ad2
http://snippet.dhtmlx.com/5/d976b6334