We have a “total” row and it obviously cannot be sorted with the rest of the data.
Why not? Calculating totals is what spreadsheets were designed for.
If there is not a way to have a “total” row and still have the sorting options for the data sets, then the above option will have to do. Thanks!
You can split a Google Sheet into two spreadsheets by using the query
attribute to select
only those rows that you want to retrieve with the limit
and offset
query language clauses.
For example, if your spreadsheet has 100 rows, then this shortcode will retrieve and display the first 50:
[gdoc key="ABCDEFG" query="select * limit 50"]
and this one will display the next 50:
[gdoc key="ABCDEFG" query="select * limit 50 offset 50"]
That way, you can choose to display a portion of your sheet differently than another portion of your sheet (perhaps by using class="no-datatables"
on the first but not the second shortcode).