onColumnResizeStart
Info
Diese Funktionalität ist nur in der PRO-Edition verfügbar.
Description
Löst aus, bevor der Benutzer beginnt, den Rand der Spalte zu ziehen, um die Spaltenbreite anzupassen
onColumnResizeStart: (index: number, column: GridColumn) => boolean;
Parameters
index- (erforderlich) number - der Spaltenindexcolumn- (erforderlich) GridColumn - das Spalten-Objekt
Returns
result- (boolean) - definiert, ob die Standardaktion des Events ausgelöst wird (true) oder abgebrochen wird (false)
Example
// return false to cancel the resize action
gantt.attachEvent("onColumnResizeStart", function(index, column){
gantt.message("Start resizing " + gantt.locale.labels["column_"+column.name]);
return true;
});
Related samples
Details
Das Event ist blockierbar. Die Rückgabe von false verhindert die Spaltengrößenänderung.
Related API
Related Guides
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.