Hi,

I had the same problem, to solve it I add the first row with CellEntry :

ArrayList<ArrayList<String>> listString;

// The Headers
for (int j = 0; j < listString.get(0).size(); j++) {
                    int row = j + 1;
                    CellEntry newCellEntry = new CellEntry(1, row, 
listString
                            .get(0).get(j));
                    spreadsheetService.insert(cellUrl, newCellEntry);
                }
//The List

for (int row = 1; row < listString.size(); row++) {
                ListEntry listEntry = new ListEntry();
                for (int col = 0; col < listString.get(0).size(); col++) {
                    
listEntry.getCustomElements().setValueLocal(listString.get(0).get(col),listString.get(row).get(col));
                    }
                spreadsheetService.insert(listURL, listEntry);
                        }

But I marked that it's very long, about 1 min for 100 rows et 5 col. Is 
there an other solution ?

Maxime

Reply via email to