GcSpread.Sheets Namespace > Sheet type : getDataItem Method |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: Object value = instance.getDataItem(row);
function getDataItem( row : number ) : Object;
var test = [ { "Series0": 2, "Series1": 1 }, { "Series0": 4, "Series1": 2 }, { "Series0": 3, "Series1": 4 } ]; activeSheet.autoGenerateColumns = true; activeSheet.setDataSource(test, true); alert(JSON.stringify(activeSheet.getDataItem(0)));