SpreadJS Documentation
removeCustomFunction Method
The custom function name.
Removes a custom function.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var value; // Type: any
value = instance.removeCustomFunction(name);
function removeCustomFunction( 
   name : string
) : any;

Parameters

name
The custom function name.
Example
This example uses the removeCustomFunction method.
// Add Custom function
// Type =myfunc(1)
// in a cell to see the result
var fn = $.ce.createFunction("myfunc", function() {
 return 100;
}, {minArg:0, maxArg:0});
spread.addCustomFunction(fn);
//spread.removeCustomFunction("myfunc");
See Also

Reference

Spread type
Creating Custom Formulas

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.