var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: any value = instance.bindColumns(columns);
function bindColumns( columns : Array ) : any;
Parameters
- columns
The following settings available are:
column.name string type The name of the data source column. column.displayName string type The text to display in the column header. column.visible boolean type true if the column is visible; otherwise, false. column.size number type The width of the column. column.formatter string type The formatter for the column. column.resizable boolean type true if the column can be resized; otherwise, false. column.value function type Gets or sets the value to or from the data source for the specified item. column.cellType GC.Spread.Sheets.BaseCellType type The cell type to display the column cells.