Filter DataTable class on Set of Values with getFilteredRows()

183 views
Skip to first unread message

ficuscr

unread,
May 15, 2012, 7:19:39 PM5/15/12
to Google Visualization API
Is there no way to filter on a collection of values with
getFilteredRows()? Not a scalar or range?

Neither of these will work...

getFilteredRows([{column: 3, value: 'AA11'}, {column: 3, value:
'AA22'}]);
getFilteredRows([{column: 3, value: ['AA11', 'AA22']});

Ability to filter on a set would be useful.

Also, ability to leverage regular expressions (something the API seems
to fail at broadly) with these filters would make sense.

asgallant

unread,
May 16, 2012, 9:19:49 AM5/16/12
to google-visua...@googlegroups.com
You can use the 'minValue' and 'maxValue' parameters to filter on a range of values.  Regex would be a nice addition, though.
Reply all
Reply to author
Forward
0 new messages