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!!