Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'undefined' is not an object (evaluating 'gdata.table.rows') #1

Open
phoebebright opened this issue Sep 12, 2012 · 1 comment

Comments

@phoebebright
Copy link

I'm having a problem getting the data to return. Not sure where I've gone wrong as I can access the data in the google table just fine but I get the above error when I run a simple test. When I trace it, gdata is false at the point it is failing, but pub.parsed is true. Have I missed something obvious?

Phoebe.

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">

    <script src="./js/tableconn.js"></script>

</head>
<body>


<script type="text/javascript">

    TC.load ({
            url: "https://docs.google.com/spreadsheet/pub?key=0AmBd5cxjATZ9dG5ZZlRhTnhqdFJieWZ0eV9fNC1lN2c&output=csv"
    }, function (csv) {

        alert('hurragh');

    });

</script>

</body>
</html>
@tcha-tcho
Copy link
Owner

Sorry my delay in respond your issue. I don't know if you solved the problem already. But maybe your table is set as private. You have to set the table as public on Google Spreadsheet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants