I have two "Choosers" in NetLogo. Namely (Category and Sub-Category). The Category Chooser has values ("Animals" and "Birds") and Sub-Category chooser has all the animals and birds in it. I want to populate the Sub-Category Chooser at run time so that
1) If "Animals" is selected in Category, the Sub-Category chooser should show only animals
2) If "Birds" is selected in Category, the Sub-Category chooser should show only birds
Any help will be appreciated. I am beginner and learning NetLogo. Thank you
You'll need to download the "Goo" extension
https://github.com/NetLogo/Goo-Extension/
Alternatively there is an extension that does this and other things that is more developed:
https://github.com/CRESS-Surrey/eXtraWidgets
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With