SpreadJS Documentation
removeCustomFunction Method
The name of the custom function to remove.
Removes the specified user-defined custom function.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: any
value = instance.removeCustomFunction(name);
function removeCustomFunction( 
   name : string
) : any;

Parameters

name
The name of the custom function to remove.
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

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.