English 中文(简体)
页: 1
原标题:Google Spreadsheets: Adding Columns using the GData API

目前,新设立 谷歌电子表格似乎有20栏。

我能够设立新的栏目headers。 通过电池喂养,但只有现有20栏。 此外,由于我有以下错误,我不能设立新的栏目,更不用说新栏标题:

预期反应代码200, got 403
它认为其他人已经删除了这个牢房。

Using the Zend GData API, this is what I m doing:

    <?php

        /*
         *  Given:
         *
         *      $columnNames, e.g. array( FirstName ,  LastName ,  DateOfBirth )
         *      $lastColumnOnSpreadsheet, e.g. 20
         *      $spreadsheetService
         *      $spreadsheetKey
         *      $worksheetId
         */

        foreach ($columnNames as $columnName)
        {
            if (!array_key_exists($columnName, $columnsAlreadyOnSpreadsheet))
            {
                $spreadsheetService->updateCell(1 /* first row */,
                                                ++$lastColumnOnSpreadsheet,
                                                $columnName,
                                                $spreadsheetKey,
                                                $worksheetId);
            }
        }

    ?>

因此,除了<代码>$lastColumnOn Spreadsheet外,我有上述错误。 目前,唯一的工作是人工插入右栏,一栏,除草剂外,还销毁通过GData实现自动化的目的。

是否有可能通过GData AP插入一栏? 如果是,如何,特别是通过泽德框架?

问题回答

Java/.net: This shows how to set the size of the sheet, you can use it to append rows and cols https://developers.google.com/google-apps/spreadsheets/

但是,我觉得奥阿特是困难的。 在奥阿斯特,我使用了“DrEdit”的G制导师,这是我所看到的最好的奥阿思教导师。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...