How to Create a Checkbox Tree in JS API?

2713
3
12-12-2014 08:55 AM
MathewSuran
New Contributor III

I have 5 Feature Layers (Parent Checkboxes) that I want to be able to expand individually (Child Checkboxes) based on specific field names of their attribute tables.  Basically like sub-feature layers?  Does anyone have any direction to accomplish this?

0 Kudos
3 Replies
MathewSuran
New Contributor III

Anyone have any suggestions or resources to check out?

0 Kudos
HeikoHeijenga
Esri Contributor

Not sure I follow, but here's an example of a Dijit checkbox tree: Dojo Dijit Tree with Checkboxes

0 Kudos
KennethMcComas
New Contributor II

I have had great success with Nianwei Liu Table of contents (TOC)

https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109