Hi, Just looked at your last post that I assume is related to this question. I used the following url to run the gadget on my browser: http://04q24a0a-a.gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/file/110038818703520461296/r3-spreadsheet-gadget-test2.xml
Then you can see that you get a javascript error (I recommend FireBug for javascript debugging and for any other web development related problems). The error is that you refer to gadgetHelper, but it is not defined. This is because you manipulated the original code, but there are some "leftovers" from the original code. You should define gadgetHelper as it was done in the original code. You don't have to use it in order to create the query, adn you can still use it to validate the response, but you have to define it: var gadgetHelper = new google.visualization.GadgetHelper(); I believe this will do the trick. And to the specific question - yes, simple Query.send() should also work from gadgets. Regards, VizGuy On Tue, Nov 4, 2008 at 5:25 PM, Region 3 DFG <[EMAIL PROTECTED]> wrote: > > im trying to build a simple gadget using the visualization api and > spreadsheets > > i started with this tutorial > http://code.google.com/apis/spreadsheets/spreadsheet_gadgets.html > > from which i took this.. > http://www.google.com/ig/modules/spreadsheet.xml > > and i created this gadget > > http://hosting.gmodules.com/ig/gadgets/file/110038818703520461296/r3-spreadsheet-gadget-test2.xml > using the GGE (which seems really buggy in firefox 3 i have to say) > > to use with this spreadsheet.. > http://spreadsheets.google.com/tq?key=pLhehESOjqJuwxn2M-YzmbA > > all i want to do is hard code the spreadsheet in instead of having the > user set it when the gadget is added to a google sites page. so i > followed this.. > http://code.google.com/apis/visualization/documentation/queries.html > > here is my test page on google pages... > http://region3.dfg.googlepages.com/test2 > > the top gadget is the one from the tutorial (spreadsheet_gadgets.html) > with the above spreadsheet set as the data source and the one on the > bottom is my gadget with that spreadsheet as the data source. mine > doesnt work it just spins and spins. anybody have an idea what i have > done wrong > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
