Skip to content

Commit 88f444f

Browse files
committed
removed an activeSheet reference I missed
1 parent 53f1aab commit 88f444f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/trex_getdata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ If your summary data contains more than 4,000,000 rows (or 400 pages), use the s
9494

9595
// Use `await` only inside an `async` method
9696

97-
const dataTableReader = await vizActiveSheet.getSummaryDataReaderAsync();
97+
const dataTableReader = await worksheet.getSummaryDataReaderAsync();
9898
try {
9999
for (let currentPage = 0; currentPage < dataTableReader.pageCount; currentPage++) {
100100
const dataTablePage = await dataTableReader.getPageAsync(currentPage);

0 commit comments

Comments
 (0)