Table Headers missing from dataset when using SQL ‘where’ clause.
-
I’ve been experiencing this issue for a long time, so I don’t think it’s related to any WP or Plug-in updates… I’ve also dug through this plug-in’s forum (at least to page 15) and tried searching as well, but it seems I may be alone in experiencing this issue.
As the subject says, my table headers appear to be missing from the dataset when using a SQL query with a ‘where’ clause.
The two example tables on my example page are being spawned thusly:
[gdoc key="https://docs.google.com/spreadsheets/d/1wknxYVy1-kuoKZAd8YINHxJJKAJUbZRDAwB6D76lOKM/edit?usp=sharing" query="SELECT C,D WHERE D CONTAINS '69' LIMIT 10" use_cache="no" expire_in="1" datatables_paging="true"]Results when "SELECT C,D WHERE D CONTAINS '69' LIMIT 10"[/gdoc]
[gdoc key="https://docs.google.com/spreadsheets/d/1wknxYVy1-kuoKZAd8YINHxJJKAJUbZRDAwB6D76lOKM/edit?usp=sharing" query="SELECT C,D LIMIT 10" use_cache="no" expire_in="1" datatables_paging="true"]Results when "SELECT C,D LIMIT 10"[/gdoc]
As you can hopefully see on my example page the first table is not properly displaying the Sheet’s frozen header row, while the 2nd table is.
Any thoughts?
DustinP.S. On a side note, for some reason my table export options are missing as well. I <may> have hidden them via CSS, but I don’t see them being output in the HTML at all. I’m <fairly> certain that I have not modified your plug-in’s files at all… nor have I added any custom hooks in functions.php
- The topic ‘Table Headers missing from dataset when using SQL ‘where’ clause.’ is closed to new replies.