Hi,
  I'm using a pretty simple query to grab some data from a google docs
spreadsheet.  I'm having a bit of frustration simply trying to get the
results out.  There does not seem to be a generic way to read the
result set.  For example, when I do data.getValueString(row, col) on
my returned data set, if the underlying type is a number I get:

java.lang.IllegalArgumentException: Something other than a Java object
was returned from JSNI method
'[email protected]::getValueString
(II)': Cannot convert to type java.lang.Object from number

When I walk down into the code in the debugger, it looks like it's got
itself a java.lang.Integer, which seems like it should stringify
itself without complaining...

This seems to imply I need to test the column type with
data.getColumnType(col) and then call the getValue<Type> method that
corresponds with the type?  Is that the right way to do it?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to