What would be syntax for binding multiple string filters as OR on the 
dashboard?

On Wednesday, 17 August 2011 06:04:13 UTC-4, Riccardo Govoni wrote:
>
> Sorry, not at the moment. Controls currently operate on a single column 
> only.
> By the way, should such filter operate in AND or OR mode (aka, should the 
> user input match all the columns or just one for the datum not to be 
> filtered out)?
>
> A possible way of doing it would be to create as many stringfilters as the 
> number of columns you want to filter upon, hide all of them but one and 
> programmatically copy the user input from the visible one into the hidden 
> ones whenever the user types something. Seriously hack-ish, I wouldn't 
> recommend going this way for anything else than a proof of concept.
>
> Alternatively, you might want to try rolling out your own. After all, 
> stringfilter behavior is quite straightforward. You may define an input 
> textbox that collects user input and scans a DataTable row-wise, creating 
> as output a DataView containing only the rows whose cell values in the 
> affected columns match the user input. Then feed such DataView to a 
> Dashboard instance that contains the charts (and possibly other controls).
>
> /R.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/146b9b2f-06c4-49e0-8019-96bddbc9f3ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to