I'm not sure what problem you're having. It works fine for me. Try this 
example http://jsfiddle.net/rYRD4/1/, where the table will show only column 
0 out of all the columns in the input datatable.

Caveats:
dataview.toJSON() does not retain generated columns, as the documentation 
says (
http://code.google.com/apis/chart/interactive/docs/reference.html#DataView_toJSON).
 
That's why you lose your 'myFunc' column.

Note that if you don't pass through toJSON(), but pass a view specification 
directly to the chartwrapper, it will use your generated columns (see 
http://jsfiddle.net/rYRD4/2/) :
w.setView({columns: [0, {calc:myFunc,type:'string','label':'testcol'}]});

/R.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/32bl_YF1fAYJ.
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