BeforeRowDelete

fires before a row is deleted

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

Parameters

cellsstringthe id(s) of a cell(s)

Returns

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

Example

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

Details

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

See also
Back to top