GC.Spread.Sheets 名前空間 > Worksheet タイプ : getDataColumnName メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: string value = instance.getDataColumnName(column); |
Javascript (Specification) | |
---|---|
function getDataColumnName( column : number ) : string; |
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 colname = activeSheet.getDataColumnName(0); alert(colname);