Notice removed Reward existing answer by Jaimin Sutariya
    Bounty Ended with Kirti Nariya's answer chosen by Jaimin Sutariya
2 added 4 characters in body
source | link

I am trying to add a menu for my module in the admin panel. I want to add it like Grand Parent > Parent > Child structure. I have used below code in my menu.xml

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
    <menu>
        <add id="Vendor_Module::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
        <add id="Vendor_Module::listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
        <add id="Vendor_Module::settings" title="Child" module="Vendor_Module"
             sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
             resource="Vendor_Module::settings" parent="Vendor_Module::listgallery"/>
    </menu>
</config>

But I can only see Grand parent and child menus. Please check below screenshot. enter image description here

I am trying to add a menu for my module in admin panel. I want to add it like Grand Parent > Parent > Child structure. I have used below code in my menu.xml

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
    <menu>
        <add id="Vendor_Module::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
        <add id="Vendor_Module::listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
        <add id="Vendor_Module::settings" title="Child" module="Vendor_Module"
             sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
             resource="Vendor_Module::settings" parent="Vendor_Module::listgallery"/>
    </menu>
</config>

But I can only see Grand parent and child menus. Please check below screenshot. enter image description here

I am trying to add a menu for my module in the admin panel. I want to add it like Grand Parent > Parent > Child structure. I have used below code in my menu.xml

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
    <menu>
        <add id="Vendor_Module::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
        <add id="Vendor_Module::listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
        <add id="Vendor_Module::settings" title="Child" module="Vendor_Module"
             sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
             resource="Vendor_Module::settings" parent="Vendor_Module::listgallery"/>
    </menu>
</config>

But I can only see Grand parent and child menus. Please check below screenshot. enter image description here

    Notice added Reward existing answer by Jaimin Sutariya
    Bounty Started worth 50 reputation by Jaimin Sutariya
    Tweeted twitter.com/StackMagento/status/1115132296120676352
    Became Hot Network Question
1
source | link

Magento 2: Admin panel 3 level menu structure not working

I am trying to add a menu for my module in admin panel. I want to add it like Grand Parent > Parent > Child structure. I have used below code in my menu.xml

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
    <menu>
        <add id="Vendor_Module::jsutariya" title="Grand Parent" module="Vendor_Module" sortOrder="100" resource="Vendor_Module::jsutariya" />
        <add id="Vendor_Module::listgallery" title="Parent" module="Vendor_Module" sortOrder="10" resource="Vendor_Module::listgallery" parent="Vendor_Module::jsutariya" />
        <add id="Vendor_Module::settings" title="Child" module="Vendor_Module"
             sortOrder="40" action="adminhtml/system_config/edit/section/list_gallery"
             resource="Vendor_Module::settings" parent="Vendor_Module::listgallery"/>
    </menu>
</config>

But I can only see Grand parent and child menus. Please check below screenshot. enter image description here