SpreadJS Documentation
isColumnBound Method
The column index.
Gets whether the specified column is bound to a data source.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: boolean
value = instance.isColumnBound(column);
function isColumnBound( 
   column : number
) : boolean;

Parameters

column
The column index.

Return Value

true if the column is bound; otherwise, false.
Example
This example returns whether the specified column is bound.
var test = [
        {"Series0":2,"Series1":1},
        {"Series0":4,"Series1":2},
        {"Series0":3,"Series1":4}
    ];

activeSheet.setDataSource(test);
activeSheet.bindColumn(1,"Series0");
activeSheet.bindColumn(0,"Series1");
var isbound = activeSheet.isColumnBound(1);
alert(isbound);
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.