Legend dijit group layers bug

560
0
05-26-2011 10:54 AM
KenDoman
Occasional Contributor II
I'm using the legend dijit used in http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/widget_legendvisible.html, and I'm having an issue.

I have a map with multiple group layers, and I'm trying to style my group layer headings a certain way, using the esriLegendGroupLayer css class. When the legend renders, the first group layer title heading doesn't have the group layer style, but the other group layer headings do.

Looking at the HTML, I noticed that the first _group div doesn't have the esriLegendGroupLayer class, but all the other ones do.
0 Kudos
0 Replies