Zum Hauptinhalt springen

onAfterSort

Description

Wird ausgelöst, sobald die Aufgaben im Grid sortiert wurden

onAfterSort: (field: string | GanttCallback, desc?: boolean, parent?: string | number) => void;

Parameters

  • field - (required) string | function - der für die Sortierung verwendete Spaltenname oder eine benutzerdefinierte Sortierfunktion

Example

gantt.attachEvent("onAfterSort",function(field, direction, parent){
// your code here
});
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.