Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Adding a new worksheet.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alfredo  
View profile  
 More options Jan 9 2011, 6:10 pm
From: Alfredo <amontesur...@gmail.com>
Date: Sun, 9 Jan 2011 15:10:51 -0800 (PST)
Local: Sun, Jan 9 2011 6:10 pm
Subject: Adding a new worksheet.
Hi Experts.

I'm trying to add a new worksheet to a spreadsheet already created but
I am new with this api and I have the following error.
I'm not sure if I do something worong, please any help, new ideas
comments, welcome.

Thanks a lot!!!

2011-01-09 23:58:03.135 Gastos[7072:207] -[NSCFString XMLElement]:
unrecognized selector sent to instance 0xef73c
2011-01-09 23:58:03.138 Gastos[7072:207] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString
XMLElement]: unrecognized selector sent to instance 0xef73c'

My code is

        GDataEntryWorksheet *w;
        w = [[GDataEntryWorksheet alloc] init];

        w.title = [[NSString alloc] initWithString:@"Alfredo"];
        w.rowCount = 20;
        w.columnCount = 20;

        NSURL *feedURL = [spreadsheet worksheetsFeedURL];
        GDataServiceGoogleSpreadsheet *service = [self spreadsheetService];

        [service fetchEntryByInsertingEntry:w
                                                         forFeedURL:feedURL
                                                           delegate:self

didFinishSelector:@selector(insertedTicket:finishedWithEntry:error:)];


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile  
 More options Jan 9 2011, 7:26 pm
From: Greg Robbins <grobb...@google.com>
Date: Sun, 9 Jan 2011 16:26:10 -0800
Local: Sun, Jan 9 2011 7:26 pm
Subject: Re: Adding a new worksheet.

The title of an entry is not a string, but rather a GDataTextConstruct. See
GDataEntryBase.h for the common methods on entries.

There is a convenience method for setting a title with an NSString. Set the
title of a new entry like this:

   [entry setTitleWithString:@"Alfredo"]

Also, use the class method

  [GDataEntryWorksheet worksheetEntry]

to make a new worksheet entry rather than call alloc/init
on GDataEntryWorksheet.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alfredo  
View profile  
 More options Jan 10 2011, 7:52 am
From: Alfredo <amontesur...@gmail.com>
Date: Mon, 10 Jan 2011 04:52:08 -0800 (PST)
Local: Mon, Jan 10 2011 7:52 am
Subject: Re: Adding a new worksheet.
WoW!!! It works perfectly!!!

Thanks a lot!!!

On 10 ene, 01:26, Greg Robbins <grobb...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jitender bhumiwal  
View profile  
 More options Jul 29 2012, 7:27 am
From: jitender bhumiwal <jitenderj...@gmail.com>
Date: Sun, 29 Jul 2012 04:27:06 -0700 (PDT)
Local: Sun, Jul 29 2012 7:27 am
Subject: Re: Adding a new worksheet.

Hi

Please provide me the sample project for iPhone adding row in spreadsheet ..

Thanks in advance ..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »