如何在Google电子表格中添加标题 [英] How to add header in Google spreadsheet

查看:543
本文介绍了如何在Google电子表格中添加标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 gdata-spreadsheet-3.0 jar在Google电子表格中输入数据。



我是使用

 (new ListEntry())。getCustomElements()。setValueLocal(Header Name,Value); 

但我不想手动创建标题。



我无法用Java输入/创建电子表格的标题。我也无法使用电子表格的标题输入数据(表示AB C ...)。

我可以创建标题,还是可以使用电子表格的标题(表示AB C ...)?

解决方案

我会尝试使用单元格对象/提要来设置标题行中的值。 / p>

http ://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html#CellFeeds



如果有效,那么您可以使用列表对象/饲料与您刚刚设置的标题名称。

I am using gdata-spreadsheet-3.0 jar to enter data in a Google spreadsheet.

I am using

(new ListEntry()).getCustomElements().setValueLocal("Header Name", "Value");

But I don't want to create the header manually.

I am unable to enter/create the header of the spreadsheet with Java. I’m also unable to enter data using spreadsheet's header (means A B C...).

Can I create a header or can I use spreadsheet's header (means A B C...)?

解决方案

I would try to use the cell objects/feeds to set the values in the header row.

http://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html#CellFeeds

If that works, then you can hopefully use the list objects/feeds with header names you just set.

这篇关于如何在Google电子表格中添加标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆