GcSpread.Sheets Namespace > SheetTable type : dataRange Method |
var instance = new GcSpread.Sheets.SheetTable(name, row, col, rowCount, colCount, style); var value; // Type: Range value = instance.dataRange();
function dataRange() : Range;
//Add data for (var col = 1; col < 6; col++) { for (var row = 2; row < 11; row++) { activeSheet.setValue(row, col, row + col); } } var sTable = activeSheet.addTable("table1", 1, 1, 10, 5, GcSpread.Sheets.TableStyles.medium2()); var drange = sTable.dataRange(); alert(drange.row);