Skip to content
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

@dbollaer

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?

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