Skip to content
This repository was archived by the owner on Dec 6, 2019. It is now read-only.
This repository was archived by the owner on Dec 6, 2019. It is now read-only.

Empty field stop ListQuery and first field is never printed #11

Description

@dbollaer

I want to download an entire spreadsheet.
To compare locally.

        $query = new ZendGData\Spreadsheets\ListQuery();
        $query->setSpreadsheetKey($this->getKey());
        $query->setWorksheetId($id);
        $query->setMaxResults(NULL);
        $listFeed = $this->getSpreadsheetService()->getListFeed($query);



        foreach ($listFeed as $row) {
            $rowData = $row->getCustom();

            foreach($rowData as $customEntry) {
                echo($customEntry->getText());
            }
        }

|first row|
|table|
'emtpy row'
|result|

prints table

expected first row, table, result

Am I using your api wrongly?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions