GcSpread.Sheets Namespace > Sheet type : getDataColumnName Method |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: string value = instance.getDataColumnName(column);
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);