Перейти к основному содержимому

quickinfo_buttons

Description

Хранит коллекцию кнопок, размещённых во всплывающей форме деталей задачи

quickinfo_buttons: any[]

Example

gantt.config.quickinfo_buttons=["icon_delete","icon_edit","advanced_details_button"];
gantt.locale.labels["advanced_details_button"] = "Расширенная информация";
gantt.init("gantt_here");

gantt.$click.buttons.advanced_details_button=function(id){
gantt.message("Это дополнительные детали");
return false; //блокирует поведение по умолчанию
};

Default value: ["icon_delete","icon_edit"]

Details

заметка

Эта опция определяется в расширении Quick Info, поэтому необходимо активировать плагин quick_info.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.