(Object, Component<Table>). Creates a Component for the editing of bound dataframes (2D arrays), or .csv/.tsv files. Files may be imported, cached, and saved to files in real time if bound. Table editors generally work by having target patterns per cell, though in Vercengen, multivariate cells are allowed with Objects upon which operations may be performed.
Either JS functions, or pre-built spreadsheet functions may be used for Table editors. Developers may also disable spreadsheet like functions and ranges if they so choose. Cells are resolved and displayed using an altered version of (String, Localisation). Tables render as HTML <table> elements.
Note. ‘Returns:’ refers to what the Component value returns when exported to its .variable
binding.
<component_key>: (Object, Component<SearchSelect>)
- Inherits from Component.
- disable_js: (Boolean) - Optional. Whether JS for the spreadsheet editor should be disabled. False by default.
- disable_spreadsheet: (Boolean) - Optional. Whether spreadsheet functions should be disabled. False by default.
- function_dictionary: (Object) - Defines the function dictionary available per cell with function descriptions and documentation.
- <function_key>: (Object)
- params: (Array<Object>)
- [n]: (Object)
- name: (String)
- description: (String)
- special_function: (Function)
- group_id: (String) - Optional. Determines the group ID for spreadsheets to be shared between. Unique by default.
- multiple_sheets: (Boolean) - Optional. Whether multiple sheets can be created for the given Component. True by default.
- Returns: (Array<Array<Variable>>) - Variable can be of type Number, String, or Object. 2D Array otherwise.