After you add the layer to the group you can call Update on the TOC.
sir i populate all the feature layer in toc but unable to group that layer please help me out
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.