I am trying to limit the number of rows that are downloaded from a table.
The tabel is created "on the fly" via app.visualization.create('table',...) and the download is initiated via table.exportData(...).
Therefore I see two potential working points for limiting the number of rows, the table object itself and the exportData function. However I could not figure out how to implement this functionality.
As of now I just dump the complete download in a Blob and get rid of the unnecessary rows there. However when the Dataset is large this becomes a performance issue, so I really would like to get rid of the abundant rows before initiating the download.
Has anyone some advice on how to takle this issue?