0

When I want to generate the Grid on my admin panel, I need to add that on my di.xml.

the code :

<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
        <arguments>
            <argument name="collections" xsi:type="array">
                <item name="jobs_department_listing_data_source" xsi:type="string">Formation\Jobs\Model\ResourceModel\Grid\Department\Collection</item>
            </argument>
        </arguments>
</type>

Here on the path Formation\Jobs\Model\ResourceModel\Grid\Department\Collection it's necessary to work, but the problem is I don't have Grid on my ResourceModel.

Can someone please explain how that its work and where's the Grid folder ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.