GcSpread.Sheets Namespace > FormulaTextBox type : add Method |
var instance = new GcSpread.Sheets.FormulaTextBox(host); var value; // Type: any value = instance.add(fnd);
function add( fnd : Object ) : any;
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. |