GcSpread.Sheets Namespace > Sheet type : autoGenerateColumns Field |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: boolean value = instance.autoGenerateColumns;
var autoGenerateColumns : boolean;
var test = [ {"Series0":2,"Series1":1}, {"Series0":4,"Series1":2}, {"Series0":3,"Series1":4} ]; sheet.autoGenerateColumns=true; sheet.setDataSource(test, true);