BeforeColumnDelete

fires before a column is deleted

boolean BeforeColumnDelete(string cells){ ... };

Parameters

cellsstringthe id(s) of a cell(s)

Returns

booleantrue to delete a column, false to prevent deleting of a column

Example

spreadsheet.events.on("BeforeColumnDelete", function(cells){
    console.log("A column will be deleted");
    return true;
});

Details

The event is blockable, returning false will prevent deleting of a column.

See also
Back to top