Hello
Thanks for your suggestion. Your layerlist widget looks pretty good. What happens is that I already have a layerlist custom widget, so what I need is just to make the group checkbox, that is, the father of what I checked, also be checked.
I set up groups manually using featurecollection. Before your suggestion, I tried using the "layerInfo.setTopLayerVisible (true);" statement, but I did not succeed. I did this within the "_onCkSelectNodeClick" function of the "LayerListView.js" file.
Attached, I'm including my layerlist widget. If you can take a look, I thank you.
Thank you!
Gilberto.