This one was a bit tricky (since you are working with a control in a backwards manner), but I think I've got it nailed down. I would explain everything I did to make it work, except I don't remember even half of what I did, so perhaps it would be best for you to look it over and see if you have any questions about it. See the attached file.
On Monday, January 21, 2013 2:55:31 AM UTC-5, kotmanp wrote: > > Hi, > > Please find the two attached html files with google charts. > > 1. excludeDropdownWorking.html is my current html file which is working as > expected. > > I want to extend this script to have one more dropdown to select view for > the coulumns to be displayed for the table. > > Please find my 2nd attachment (viewsDropdown.html) that i currently trying: > > i have the following views: (and the correspoding columns that should be > displayed.) > > All= ['Name', 'Gender', 'Age', 'Donuts eaten']; > Default= ['Name', 'Age', 'Donuts eaten']; > GenderView= ['Name', 'Gender', 'Donuts eaten']; > DEView= ['Name', 'Donuts eaten']; > > My other pie chart data depends on the columns in the current table. Hence > when a particular view is selected, the coulmns display should only be > changed, but the all the data should be present in the table for the pie > chart to be displayed. > > Also When i first select the view, the table is correctly setting the > display, but then if i change any of the other controls, table is again > displaying all the columns. (table should retain its state for required > columns based on view selected) > Can you please help me in fixing this script? > > Thank you in advance!! > > > -- 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/-/hbztputkjuIJ. 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.
<<< text/html; charset=US-ASCII; name=viewsDropdown_fixed.html: Unrecognized >>>
