Hey, thanks a lot.
Of course I missed the google.load :)
(It was there, but in a function that was not yet called)

So now I am getting something, but I still get an error that "User is
not signed in"
Now that occurs whether I'm trying to access the spreadsheet, and more
important when I try to use my DataTable:
http://epihourtesting.appspot.com/SearchShow?ShowName=lost
(For instance...)

+ Is it nessecery to define a OnLoadCallback function? Cause I don't
want one :)

Thanks a lot for your help!

On Dec 31, 9:49 am, VizGuy <[email protected]> wrote:
> Hi Chen
>
> Generally the code looks good, but there are a few things:
> 1. The spreadsheet you are trying to access is not accessible to me, so I
> can't verify you have data in it and so on. I assume you have data in it.
> You can try to open in your browser the url that you put in the query, and
> see the json response you get. If it contains the word error, you should see
> what it is.
> 2. This is only a snippet, so I assume you have specified all of the correct
> script tags and used google.load correctly.
>
> If all of this was done, it should work.
> If it doesn't I need more info in order to help.
> For example, you could send a full sample page, accessing a sample
> spreadsheet or some other way we can try to recreate the problem.
>
> Regards,
> VizGuy
>
> On Wed, Dec 31, 2008 at 9:29 AM, Chen Harel <[email protected]> wrote:
>
> > Hi, I'm trying to view a visualization table via iGoogle Gadget,
> > I've used all available examples and information on the API pages but
> > still gets a timeout for my requests...
> > Now even running the simple example when the datasource is a
> > spreadsheet doesn't work...
> > Once I get this one working, I'll simply implement the response to
> > match my own python datasource implementation
> > (That will be written here once you guys point me to what i'm doing
> > wrong :) )
>
> > The client side:
> > function search_test()    {
> >    var url = 'http://spreadsheets.google.com/tq?key=pxk4YcSK2-
> > L24X8uhC7bNPg&range=A2:B4&gid=0<http://spreadsheets.google.com/tq?key=pxk4YcSK2-L24X8uhC7bNPg&range=A...>
> > ';
> >    var query = new google.visualization.Query(url);
>
> >    // Send the query with a callback function.
> >                query.send(handleQueryResponse);
>
> >        }
>
> >        function handleQueryResponse(response)  {
> >                if (response.isError()) {
> >                        alert('Error in query: ' + response.getMessage
> > () + ' ' + response.getDetailedMessage());
> >                        return;
> >                }
> >                var data = response.getDataTable();
> >                var table = new google.visualization.Table
> > (document.getElementById('main_div'));
> >                table.draw(data, {page: 'enable', pageSize: 15});
> >        }
>
> > Thanks a lot.
> > Chen
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to