onAfterRangeSet

fires after a range of cells is set

void onAfterRangeSet(string name,string text, [string|boolean scope] );
namestringthe name of the cell range
textstringthe range of cells
scopestring|booleanoptional, the visibility scope of the range: the name of the sheet, true for a global range, or undefined for a range added to the active sheet

Example

$$("sprsheet1").attachEvent("onAfterRangeSet", function(name, text, scope){
    // handler code
});

Details

The event fires when a named range is added via the ranges module or the "Named ranges" dialog. The scope parameter has the same value as in the ranges.add() call.

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.