Assign an id to a column using arrayToDataTable

13 views
Skip to first unread message

Carl Castillo

unread,
Oct 15, 2021, 7:07:08 PM10/15/21
to Google Visualization API
Hello,

I am trying to assign an id to a specific column using the arrayToDataTable method.

I see there is documentation on using it for a google.visualization.DataTable..like this
var dt = new google.visualization.DataTable({ cols: [{id: 'task', label: 'Task', type: 'string'},

However, is there way to implement an id to a column using the arrayToDataTable method?


Reply all
Reply to author
Forward
0 new messages