A more efficient workaround could be to save the state of 
the NumberRangeFilter if you need it later and give 
the NumberRangeFilter's lowValue and highValue extreme values in order to 
ignore it.
This is what I do to unbind the controls as I noticed recreating the 
dashboard was more time consuming.

Any chance that you have found a (beta?) way to unbind properly the 
controls since your post?

Le mardi 20 décembre 2011 16:30:35 UTC+1, Gabe a écrit :
>
> I would also like to unbind a dashboard control through user input. 
>
> I have multiple StringFilters bound to a table.  I also have a 
> NumberRangeFilter that filters rows based on "year".  The filters work well 
> when bound.
>
> dashboard.bind([typeFilter, authorStringFilter, titleStringFilter, 
> abstractStringFilter, yearFilter], table) //works well
>
> The problem is that some of the records in the table don't have a year, so 
> they are filtered out by the "NumberRangeFilter".  
>
> I would like the user to be able to turn the NumberRangeFilter on and off 
> with a checkbox so they can see all the records when the filter is off, but 
> also have the ability to filter by year.  I added a checkbox and tried a 
> number of things, but it seems like I can't manage to unbind the yearFilter 
> no matter what I do.  My work around is to recreate that dashboard every 
> time the checkbox is toggled, but it seems like I should just be able to 
> unbind the year filter.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/HiukxfAQDWMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to