var instance = new GC.Spread.Sheets.Tables.TableManager(sheet); var value; // Type: Table value = instance.addFromDataSource(name, row, column, dataSource, style, options, options.showHeader, options.showFooter);
function addFromDataSource( name : string, row : number, column : number, dataSource : object, style : TableTheme, options : Object, (optional) options.showHeader : boolean, (optional) options.showFooter : boolean ) : Table;
Parameters
- name
- The table name.
- row
- The row index.
- column
- The column index.
- dataSource
- The data source for the table.
- style
- The style of the table.
- options
- The initialization options of the table.
- options.showHeader
- Whether to display a header.
- options.showFooter
- boolean Whether to display a footer.
Return Value
The new table instance.