Timeline for TabView resets to default when selecting data using Control object
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 3, 2013 at 11:22 | vote | accept | lara | ||
Feb 26, 2013 at 21:32 | comment | added | Mike Honeychurch | @kguler looks like an exact duplicate. I voted to close the earlier one rather than this one because the earlier one has no activity. | |
Feb 26, 2013 at 16:37 | history | edited | Sjoerd C. de Vries | CC BY-SA 3.0 |
added 54 characters in body; edited title
|
Feb 26, 2013 at 11:56 | comment | added | kglr | btw, just noticed this question you posted a while back. Aren't these questions the same? | |
Feb 26, 2013 at 10:37 | comment | added | kglr | Lara, exactly:) | |
Feb 26, 2013 at 10:29 | answer | added | kglr | timeline score: 2 | |
Feb 26, 2013 at 10:27 | comment | added | lara | I realise that using set delayed and dynamic is not necessary and are kind of double-refreshing things. | |
Feb 26, 2013 at 10:26 | comment | added | kglr |
Does either of the following give what you need: (1) use Dashboard instead of Dynamic[Dashboard] ? or (2) define Dashboard with Set instead of SetDelayed : that is, Dashboard= TabView[...]; Dynamic[Dashboard] ?
|
|
Feb 26, 2013 at 10:24 | comment | added | lara | Yes! Thanks I had no idea this was the problem. I have been sifting throught the full code (much more that what appears above) and was about to give up. Thanks again. | |
Feb 26, 2013 at 10:15 | comment | added | Mike Honeychurch |
You're over cooking it. No need for a dynamic around the tab view as far as I can see -- admittedly after very brief look. Just do this at the end TabView[{"Introduction" -> "IntroPage", "Fuel & Energy" -> Column[{Grid[{{YearHead, GenHead, MetricHead}, {DropDownYear, DropDownGenerator, DropDownMetric}}], Column[{HeadingTab2, MOYGraph}, Alignment -> Center]}, Alignment -> Left], "Generator Loading" -> "Tab3"}, 1]
|
|
Feb 26, 2013 at 9:54 | history | asked | lara | CC BY-SA 3.0 |