SpreadJS Documentation
add Method
The function description to add. This can be an array. See the Remarks for more information.
Adds a custom function description.
Syntax
var instance = new GcSpread.Sheets.FormulaTextBox(host);
var value; // Type: any
value = instance.add(fnd);
function add( 
   fnd : Object
) : any;

Parameters

fnd
The function description to add. This can be an array. See the Remarks for more information.
Remarks

The parameter fnd is an object that describes the function being added. It can have the following parameters:

Name Type Description
name String The function name.
shortDescription String The short description of the function.
description String The description of the function.
parameters Array The description of the function parameters.

The function parameters can have the following parameters as well:

Name Type Description
parameters[i].name String The parameter name.
parameters[i].description String The parameter description.
parameters[i].repeatable Boolean The parameter is repeatable.
parameters[i].optional Boolean The parameter is optional.

 

See Also

Reference

FormulaTextBox type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.