By default when we use <TreeItemsGroup> it showing dropdown icon but if there is no child so Is there any way to handle to remove an icon from treeitemsgroup.
Yes, it will not. A possible solution here would be to use smart-tree-items-group. After you create the tree, use document.querySelectorAll(‘smart-tree-items-group’) and then loop through all groups, check the .children property for children and hide the arrow if there’s no child.