Hi, Sergey,
When I click your example query link, I saw the following in the browser
window. I was expecting to see a HTML page like we saw with the old
spreadsheet version(for example
https://spreadsheets.google.com/tq?tqx=out:html&tq=select+D,F,count(C)+where+(B+contains+'Agoulnik')+group+by+D,F&key=0AqAPbBT_k2VUdEtXYXdLdjM0TXY1YUVhMk9jeUQ0NkE
)
google.visualization.Query.setResponse({"version":"0.6","reqId":"0","status":"ok","sig":"1579047909","table":{"cols":[{"id":"A","label":"","type":"datetime","pattern":"M/d/yyyy
H:mm:ss"},{"id":"B","label":"","type":"string"},{"id":"E","label":"","type":"number","pattern":"0"}],"rows":[{"c":[{"v":new
Date(2014,2,30,12,25,49),"f":"3/30/2014
12:25:49"},{"v":"[email protected]"},{"v":5.0,"f":"5"}]},{"c":[{"v":new
Date(2014,2,30,12,14,5),"f":"3/30/2014
12:14:05"},{"v":"[email protected]"},{"v":6.0,"f":"6"}]}]}});
Could you please provide an example on how to export a html page through
the query?
Thank you.
On Tuesday, January 28, 2014 10:24:53 AM UTC-6, Romain Vialard wrote:
>
> I thought it was working but the method setQuery() doesn't seem to work
> with the new version of Sheets.
>
> As an example, you can try this Sheet
> <https://docs.google.com/spreadsheets/d/1uzuafFtIi1f9Z3J0_KTzo7LDRubfe9WPzfE7FrX7oSs/edit#gid=0>
>
> with the code available here:
>
> https://code.google.com/apis/ajax/playground/?type=visualization#using_the_query_language
>
> The query query.setQuery('SELECT A,D WHERE D > 100 ORDER BY D'); has no
> effect.
>
> Is there a plan to make it work in the near future, or a workaround ? (I
> tried v1.1 of the viz API but it didn't seem to work either)
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.