Custom Group layers

Discussion created by Dhliwayo on Jan 11, 2013
Hello Gents/Ladies,

Does Javascript API allow for the creation of custom group layers, which for example could be populated with graphic /feature layers OR dynamic service layers? Will the legend controls work out of the box? Any sample code would be highly appreciated. This is relatively easy in the Silverlight API, but I just cant find how this could be done in JSAPI....

Many thanks,