Refresh a datatable that has been grouped

12 views
Skip to first unread message

fob...@gmail.com

unread,
Jul 27, 2016, 10:45:56 AM7/27/16
to Google Visualization API
Hi,

I have a grouped set of data which underpins a dashboard.

  subjects_result = google.visualization.data.group(
  subjects,
  [filter2],
  [{'column': 6, 'aggregation': google.visualization.data.sum, 'type': 'number'},{'column': 7, 'aggregation': google.visualization.data.sum, 'type': 'number'},{'column': 8, 'aggregation': google.visualization.data.sum, 'type': 'number'},}]
);

I am passing in a value for the key columns via a variable 'filter2'.  This works on first drawing.

However, I am using programmatic changes to alter the value of filter2 and redrawing the dashboard.  It appears that the data group 'subjects_result' does not refresh.

How can this be achieved?

Thanks in advance for any help.
Reply all
Reply to author
Forward
0 new messages