Sorry Abdullah, you can't freeze a row via the API.  You might try using
Google Apps Script.

-Vic



On Thu, Jun 23, 2011 at 6:45 AM, Abdullah Akbar <[email protected]>wrote:

> Can any one help me with freezing rows in Google spreadsheets? i need to
> freeze the first row . My code looks like this
>
> for (RowData rowData : workSheetData)
>  {
> HashMap<String, String> columnData = rowData.getColumnValuesData();
>  ListEntry newEntry = new ListEntry();
> for (String columnName : columnData.keySet())
>  {
> if(!columnList.contains(columnName))
>  {
> URL cellFeedUrl = worksheetEntry.getCellFeedUrl();
>  CellEntry pathColumnHeader = new CellEntry(1,++columnCount,columnName);
> spreadSheetService.insert(cellFeedUrl, pathColumnHeader);
>  columnList.add(columnName);
> }
>  newEntry.getCustomElements().setValueLocal(columnName ,
> columnData.get(columnName));
> }
>  spreadSheetService.insert(listFeedUrl, newEntry);
>
>
>

Reply via email to