$click
Description
Ändert die Standard-Klickaktionen für Buttons im Gantt-Diagramm
$click: any
Example
gantt.config.quickinfo_icons=["icon_delete","icon_edit","advanced_details_button"];
gantt.locale.labels["advanced_details_button"] = "Advanced Info";
gantt.init("gantt_here");
gantt.$click.advanced_details_button=function(e, id, trg){
gantt.message("These are advanced details");
return false; //verhindert das Standardverhalten
};
Details
Hinweis
Das Verhalten des Buttons wird sowohl für das Lightbox-Fenster als auch für das Quick-Info-Popup neu definiert.
Das $click-Objekt des Standard-Gantt-Diagramms ist:
{
buttons: {
delete: function (id){...},
edit: function (id){...},
}
}
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.