charts - Google Visualization: Create Data View from Filtered Table -
is there 'built in' way create data view dashboard table using visible rows? want know before code unnecessarily long winded alternative!
edit:
i missed in reference docs doesn't solve problem since still have jiggery pokery status of active filters on dash , pass them getfilteredrows() method.
you can use getfilteredrows() method "returns row indexes rows match of given filters. indexes returned in ascending order. output of method can used input dataview.setrows()"
https://developers.google.com/chart/interactive/docs/reference#dataview
the chartwrapper object need wrap table in when using dashboard has "view" parameter can use define dataview want use chart:
var table = new google.visualization.chartwrapper({ charttype: 'table', containerid: 'mytablediv', options: { // table options }, view: { columns: [/* columns used view */] } });