Magento 2 Custom extension admin grid returning blankblank admin grid areaAdded column to...

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

Why Is Death Allowed In the Matrix?

Patience, young "Padovan"

Extreme, but not acceptable situation and I can't start the work tomorrow morning

A function which translates a sentence to title-case

How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?

Does the radius of the Spirit Guardians spell depend on the size of the caster?

If Manufacturer spice model and Datasheet give different values which should I use?

How to determine if window is maximised or minimised from bash script

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

How does one intimidate enemies without having the capacity for violence?

Is there a minimum number of transactions in a block?

Do airline pilots ever risk not hearing communication directed to them specifically, from traffic controllers?

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

How to use Pandas to get the count of every combination inclusive

Circuitry of TV splitters

Concept of linear mappings are confusing me

How do I create uniquely male characters?

Is there really no realistic way for a skeleton monster to move around without magic?

Can I make popcorn with any corn?

Closed subgroups of abelian groups

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

Can Medicine checks be used, with decent rolls, to completely mitigate the risk of death from ongoing damage?

New order #4: World



Magento 2 Custom extension admin grid returning blank


blank admin grid areaAdded column to sales_flat_shipment_item, how can I commit value to this new field on order shipment?Magento Color/Image Swatches for Multiple Select Custom Options (CE 1.7.x.x)How can i rewrite TierPrice Block in Magento2main.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Custom customer account navigation page returning blankMagento 2 Add new field to Magento_User admin formMagento 2.2.5: Add, Update and Delete existing products Custom OptionsAdminhtml form custom renderer - blank page - Magento 1.9






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I have a custom module on my Magento 2 installation. The problem is when I access the admin grid, it's returning a blank page, just with the title of the page, like the following picture.



enter image description here



I already have tried to clean and flush the cache, but no success.




My Controller/Adminhtml/Fat/Index.php




<?php

namespace PereiraTechFaturamentoControllerAdminhtmlFat;

class Index extends MagentoBackendAppAction
{
protected $resultPageFactory = false;

public function __construct(
MagentoBackendAppActionContext $context,
MagentoFrameworkViewResultPageFactory $resultPageFactory
)
{
parent::__construct($context);
$this->resultPageFactory = $resultPageFactory;
}

public function execute()
{
$resultPage = $this->resultPageFactory->create();
$resultPage->getConfig()->getTitle()->prepend((__('Faturamentos')));

return $resultPage;
}


}



etc/adminhtml/di.xml




<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/ObjectManager/etc/config.xsd">
<type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<item name="pepreiratech_faturamento_fat_listing_data_source" xsi:type="string">PereiraTechFaturamentoModelResourceModelFatGridCollection</item>
</argument>
</arguments>
</type>
<virtualType name="PereiraTechFaturamentoModelResourceModelFatGridCollection" type="MagentoFrameworkViewElementUiComponentDataProviderSearchResult">
<arguments>
<argument name="mainTable" xsi:type="string">pereiratech_fat</argument>
<argument name="resourceModel" xsi:type="string">PereirTechFaturamentoModelResourceModelFat</argument>
</arguments>
</virtualType>
</config>



etc/htmladmin/routes.xml




<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="admin">
<route id="fat" frontName="faturamento">
<module name="PereiraTech_Faturamento"/>
</route>
</router>
</config>



view/adminhtml/layout/pereiratech_faturamento_fat_index.xml




<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
<update handle="styles"/>
<body>
<referenceContainer name="content">
<uiComponent name="pereiratech_faturamento_fat_listing"/>
</referenceContainer>
</body>
</page>



view/adminhtml/ui_component/pereiratech_faturamento_fat_listing.xml




<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<argument name="data" xsi:type="array">
<item name="js_config" xsi:type="array">
<item name="provider" xsi:type="string">pereiratech_faturamento_fat_listing.pereiratech_faturamento_fat_listing_data_source</item>
<item name="deps" xsi:type="string">pereiratech_faturamento_fat_listing.pereiratech_faturamento_fat_listing_data_source</item>
</item>
<item name="spinner" xsi:type="string">spinner_columns</item>
<item name="buttons" xsi:type="array">
<item name="add" xsi:type="array">
<item name="name" xsi:type="string">add</item>
<item name="label" xsi:type="string" translate="true">Novo faturamento</item>
<item name="class" xsi:type="string">primary</item>
<item name="url" xsi:type="string">*/*/new</item>
</item>
</item>
</argument>
<dataSource name="pereiratech_fat">
<argument name="dataProvider" xsi:type="configurableObject">
<argument name="class" xsi:type="string">MagentoFrameworkViewElementUiComponentDataProviderDataProvider</argument>
<argument name="name" xsi:type="string">pereiratech_faturamento_fat_listing_data_source</argument>
<argument name="primaryFieldName" xsi:type="string">fat_id</argument>
<argument name="requestFieldName" xsi:type="string">id</argument>
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/grid/provider</item>
<item name="update_url" xsi:type="url" path="mui/index/render"/>
<item name="storageConfig" xsi:type="array">
<item name="indexField" xsi:type="string">fat_id</item>
</item>
</item>
</argument>
</argument>
</dataSource>
<listingToolbar name="listing_top">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="sticky" xsi:type="boolean">true</item>
</item>
</argument>
<bookmark name="bookmarks"/>
<columnsControls name="columns_controls"/>
<exportButton name="export_button"/>
<filters name="listing_filters" />
<filterSearch name="fulltext"/>
<massaction name="listing_massaction">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/grid/tree-massactions</item>
</item>
</argument>
<action name="delete">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="type" xsi:type="string">delete</item>
<item name="label" xsi:type="string" translate="true">Delete</item>
<item name="url" xsi:type="url" path="pereiratech_faturamento/fat/massDelete"/>
<item name="confirm" xsi:type="array">
<item name="title" xsi:type="string" translate="true">Delete Post</item>
<item name="message" xsi:type="string" translate="true">Are you sure you wan't to delete selected items?</item>
</item>
</item>
</argument>
</action>
</massaction>
<paging name="listing_paging"/>
</listingToolbar>
<columns name="spinner_columns">
<selectionsColumn name="ids">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="resizeEnabled" xsi:type="boolean">false</item>
<item name="resizeDefaultWidth" xsi:type="string">55</item>
<item name="indexField" xsi:type="string">fat_id</item>
</item>
</argument>
</selectionsColumn>
<column name="fat_id">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="filter" xsi:type="string">textRange</item>
<item name="sorting" xsi:type="string">asc</item>
<item name="label" xsi:type="string" translate="true">ID</item>
</item>
</argument>
</column>
<column name="cliente">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="filter" xsi:type="string">text</item>
<item name="editor" xsi:type="array">
<item name="editorType" xsi:type="string">text</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">true</item>
</item>
</item>
<item name="label" xsi:type="string" translate="true">Cliente</item>
</item>
</argument>
</column>
<column name="cliente_cpf_cnpj">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="filter" xsi:type="string">text</item>
<item name="editor" xsi:type="array">
<item name="editorType" xsi:type="string">text</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">true</item>
</item>
</item>
<item name="label" xsi:type="string" translate="true">CPF/CNPJ</item>
</item>
</argument>
</column>
<column name="vendas_id">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="filter" xsi:type="string">text</item>
<item name="editor" xsi:type="array">
<item name="editorType" xsi:type="string">text</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">true</item>
</item>
</item>
<item name="label" xsi:type="string" translate="true">Ordens</item>
</item>
</argument>
</column>
<column name="data_inicio" class="MagentoUiComponentListingColumnsDate">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="filter" xsi:type="string">dateRange</item>
<item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
<item name="dataType" xsi:type="string">date</item>
<item name="label" xsi:type="string" translate="true">De</item>
</item>
</argument>
</column>
<column name="data_fim" class="MagentoUiComponentListingColumnsDate">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="filter" xsi:type="string">dateRange</item>
<item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
<item name="dataType" xsi:type="string">date</item>
<item name="label" xsi:type="string" translate="true">Até</item>
</item>
</argument>
</column>
<column name="subtotal">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="filter" xsi:type="string">text</item>
<item name="editor" xsi:type="array">
<item name="editorType" xsi:type="string">text</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">true</item>
</item>
</item>
<item name="label" xsi:type="string" translate="true">Subtotal</item>
</item>
</argument>
</column>
<column name="desconto">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="filter" xsi:type="string">text</item>
<item name="editor" xsi:type="array">
<item name="editorType" xsi:type="string">text</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">true</item>
</item>
</item>
<item name="label" xsi:type="string" translate="true">Desconto</item>
</item>
</argument>
</column>
<column name="total">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="filter" xsi:type="string">text</item>
<item name="editor" xsi:type="array">
<item name="editorType" xsi:type="string">text</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">true</item>
</item>
</item>
<item name="label" xsi:type="string" translate="true">Total</item>
</item>
</argument>
</column>
<column name="pago">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="filter" xsi:type="string">text</item>
<item name="editor" xsi:type="array">
<item name="editorType" xsi:type="string">text</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">true</item>
</item>
</item>
<item name="label" xsi:type="string" translate="true">Pago</item>
</item>
</argument>
</column>
</columns>
</listing>









share|improve this question









New contributor




Murilo Pereira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    1















    I have a custom module on my Magento 2 installation. The problem is when I access the admin grid, it's returning a blank page, just with the title of the page, like the following picture.



    enter image description here



    I already have tried to clean and flush the cache, but no success.




    My Controller/Adminhtml/Fat/Index.php




    <?php

    namespace PereiraTechFaturamentoControllerAdminhtmlFat;

    class Index extends MagentoBackendAppAction
    {
    protected $resultPageFactory = false;

    public function __construct(
    MagentoBackendAppActionContext $context,
    MagentoFrameworkViewResultPageFactory $resultPageFactory
    )
    {
    parent::__construct($context);
    $this->resultPageFactory = $resultPageFactory;
    }

    public function execute()
    {
    $resultPage = $this->resultPageFactory->create();
    $resultPage->getConfig()->getTitle()->prepend((__('Faturamentos')));

    return $resultPage;
    }


    }



    etc/adminhtml/di.xml




    <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/ObjectManager/etc/config.xsd">
    <type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
    <arguments>
    <argument name="collections" xsi:type="array">
    <item name="pepreiratech_faturamento_fat_listing_data_source" xsi:type="string">PereiraTechFaturamentoModelResourceModelFatGridCollection</item>
    </argument>
    </arguments>
    </type>
    <virtualType name="PereiraTechFaturamentoModelResourceModelFatGridCollection" type="MagentoFrameworkViewElementUiComponentDataProviderSearchResult">
    <arguments>
    <argument name="mainTable" xsi:type="string">pereiratech_fat</argument>
    <argument name="resourceModel" xsi:type="string">PereirTechFaturamentoModelResourceModelFat</argument>
    </arguments>
    </virtualType>
    </config>



    etc/htmladmin/routes.xml




    <?xml version="1.0"?>
    <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
    <router id="admin">
    <route id="fat" frontName="faturamento">
    <module name="PereiraTech_Faturamento"/>
    </route>
    </router>
    </config>



    view/adminhtml/layout/pereiratech_faturamento_fat_index.xml




    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
    <update handle="styles"/>
    <body>
    <referenceContainer name="content">
    <uiComponent name="pereiratech_faturamento_fat_listing"/>
    </referenceContainer>
    </body>
    </page>



    view/adminhtml/ui_component/pereiratech_faturamento_fat_listing.xml




    <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    <argument name="data" xsi:type="array">
    <item name="js_config" xsi:type="array">
    <item name="provider" xsi:type="string">pereiratech_faturamento_fat_listing.pereiratech_faturamento_fat_listing_data_source</item>
    <item name="deps" xsi:type="string">pereiratech_faturamento_fat_listing.pereiratech_faturamento_fat_listing_data_source</item>
    </item>
    <item name="spinner" xsi:type="string">spinner_columns</item>
    <item name="buttons" xsi:type="array">
    <item name="add" xsi:type="array">
    <item name="name" xsi:type="string">add</item>
    <item name="label" xsi:type="string" translate="true">Novo faturamento</item>
    <item name="class" xsi:type="string">primary</item>
    <item name="url" xsi:type="string">*/*/new</item>
    </item>
    </item>
    </argument>
    <dataSource name="pereiratech_fat">
    <argument name="dataProvider" xsi:type="configurableObject">
    <argument name="class" xsi:type="string">MagentoFrameworkViewElementUiComponentDataProviderDataProvider</argument>
    <argument name="name" xsi:type="string">pereiratech_faturamento_fat_listing_data_source</argument>
    <argument name="primaryFieldName" xsi:type="string">fat_id</argument>
    <argument name="requestFieldName" xsi:type="string">id</argument>
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="component" xsi:type="string">Magento_Ui/js/grid/provider</item>
    <item name="update_url" xsi:type="url" path="mui/index/render"/>
    <item name="storageConfig" xsi:type="array">
    <item name="indexField" xsi:type="string">fat_id</item>
    </item>
    </item>
    </argument>
    </argument>
    </dataSource>
    <listingToolbar name="listing_top">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="sticky" xsi:type="boolean">true</item>
    </item>
    </argument>
    <bookmark name="bookmarks"/>
    <columnsControls name="columns_controls"/>
    <exportButton name="export_button"/>
    <filters name="listing_filters" />
    <filterSearch name="fulltext"/>
    <massaction name="listing_massaction">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="component" xsi:type="string">Magento_Ui/js/grid/tree-massactions</item>
    </item>
    </argument>
    <action name="delete">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="type" xsi:type="string">delete</item>
    <item name="label" xsi:type="string" translate="true">Delete</item>
    <item name="url" xsi:type="url" path="pereiratech_faturamento/fat/massDelete"/>
    <item name="confirm" xsi:type="array">
    <item name="title" xsi:type="string" translate="true">Delete Post</item>
    <item name="message" xsi:type="string" translate="true">Are you sure you wan't to delete selected items?</item>
    </item>
    </item>
    </argument>
    </action>
    </massaction>
    <paging name="listing_paging"/>
    </listingToolbar>
    <columns name="spinner_columns">
    <selectionsColumn name="ids">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="resizeEnabled" xsi:type="boolean">false</item>
    <item name="resizeDefaultWidth" xsi:type="string">55</item>
    <item name="indexField" xsi:type="string">fat_id</item>
    </item>
    </argument>
    </selectionsColumn>
    <column name="fat_id">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="filter" xsi:type="string">textRange</item>
    <item name="sorting" xsi:type="string">asc</item>
    <item name="label" xsi:type="string" translate="true">ID</item>
    </item>
    </argument>
    </column>
    <column name="cliente">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="filter" xsi:type="string">text</item>
    <item name="editor" xsi:type="array">
    <item name="editorType" xsi:type="string">text</item>
    <item name="validation" xsi:type="array">
    <item name="required-entry" xsi:type="boolean">true</item>
    </item>
    </item>
    <item name="label" xsi:type="string" translate="true">Cliente</item>
    </item>
    </argument>
    </column>
    <column name="cliente_cpf_cnpj">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="filter" xsi:type="string">text</item>
    <item name="editor" xsi:type="array">
    <item name="editorType" xsi:type="string">text</item>
    <item name="validation" xsi:type="array">
    <item name="required-entry" xsi:type="boolean">true</item>
    </item>
    </item>
    <item name="label" xsi:type="string" translate="true">CPF/CNPJ</item>
    </item>
    </argument>
    </column>
    <column name="vendas_id">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="filter" xsi:type="string">text</item>
    <item name="editor" xsi:type="array">
    <item name="editorType" xsi:type="string">text</item>
    <item name="validation" xsi:type="array">
    <item name="required-entry" xsi:type="boolean">true</item>
    </item>
    </item>
    <item name="label" xsi:type="string" translate="true">Ordens</item>
    </item>
    </argument>
    </column>
    <column name="data_inicio" class="MagentoUiComponentListingColumnsDate">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="filter" xsi:type="string">dateRange</item>
    <item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
    <item name="dataType" xsi:type="string">date</item>
    <item name="label" xsi:type="string" translate="true">De</item>
    </item>
    </argument>
    </column>
    <column name="data_fim" class="MagentoUiComponentListingColumnsDate">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="filter" xsi:type="string">dateRange</item>
    <item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
    <item name="dataType" xsi:type="string">date</item>
    <item name="label" xsi:type="string" translate="true">Até</item>
    </item>
    </argument>
    </column>
    <column name="subtotal">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="filter" xsi:type="string">text</item>
    <item name="editor" xsi:type="array">
    <item name="editorType" xsi:type="string">text</item>
    <item name="validation" xsi:type="array">
    <item name="required-entry" xsi:type="boolean">true</item>
    </item>
    </item>
    <item name="label" xsi:type="string" translate="true">Subtotal</item>
    </item>
    </argument>
    </column>
    <column name="desconto">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="filter" xsi:type="string">text</item>
    <item name="editor" xsi:type="array">
    <item name="editorType" xsi:type="string">text</item>
    <item name="validation" xsi:type="array">
    <item name="required-entry" xsi:type="boolean">true</item>
    </item>
    </item>
    <item name="label" xsi:type="string" translate="true">Desconto</item>
    </item>
    </argument>
    </column>
    <column name="total">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="filter" xsi:type="string">text</item>
    <item name="editor" xsi:type="array">
    <item name="editorType" xsi:type="string">text</item>
    <item name="validation" xsi:type="array">
    <item name="required-entry" xsi:type="boolean">true</item>
    </item>
    </item>
    <item name="label" xsi:type="string" translate="true">Total</item>
    </item>
    </argument>
    </column>
    <column name="pago">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="filter" xsi:type="string">text</item>
    <item name="editor" xsi:type="array">
    <item name="editorType" xsi:type="string">text</item>
    <item name="validation" xsi:type="array">
    <item name="required-entry" xsi:type="boolean">true</item>
    </item>
    </item>
    <item name="label" xsi:type="string" translate="true">Pago</item>
    </item>
    </argument>
    </column>
    </columns>
    </listing>









    share|improve this question









    New contributor




    Murilo Pereira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      I have a custom module on my Magento 2 installation. The problem is when I access the admin grid, it's returning a blank page, just with the title of the page, like the following picture.



      enter image description here



      I already have tried to clean and flush the cache, but no success.




      My Controller/Adminhtml/Fat/Index.php




      <?php

      namespace PereiraTechFaturamentoControllerAdminhtmlFat;

      class Index extends MagentoBackendAppAction
      {
      protected $resultPageFactory = false;

      public function __construct(
      MagentoBackendAppActionContext $context,
      MagentoFrameworkViewResultPageFactory $resultPageFactory
      )
      {
      parent::__construct($context);
      $this->resultPageFactory = $resultPageFactory;
      }

      public function execute()
      {
      $resultPage = $this->resultPageFactory->create();
      $resultPage->getConfig()->getTitle()->prepend((__('Faturamentos')));

      return $resultPage;
      }


      }



      etc/adminhtml/di.xml




      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/ObjectManager/etc/config.xsd">
      <type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
      <arguments>
      <argument name="collections" xsi:type="array">
      <item name="pepreiratech_faturamento_fat_listing_data_source" xsi:type="string">PereiraTechFaturamentoModelResourceModelFatGridCollection</item>
      </argument>
      </arguments>
      </type>
      <virtualType name="PereiraTechFaturamentoModelResourceModelFatGridCollection" type="MagentoFrameworkViewElementUiComponentDataProviderSearchResult">
      <arguments>
      <argument name="mainTable" xsi:type="string">pereiratech_fat</argument>
      <argument name="resourceModel" xsi:type="string">PereirTechFaturamentoModelResourceModelFat</argument>
      </arguments>
      </virtualType>
      </config>



      etc/htmladmin/routes.xml




      <?xml version="1.0"?>
      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
      <router id="admin">
      <route id="fat" frontName="faturamento">
      <module name="PereiraTech_Faturamento"/>
      </route>
      </router>
      </config>



      view/adminhtml/layout/pereiratech_faturamento_fat_index.xml




      <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
      <update handle="styles"/>
      <body>
      <referenceContainer name="content">
      <uiComponent name="pereiratech_faturamento_fat_listing"/>
      </referenceContainer>
      </body>
      </page>



      view/adminhtml/ui_component/pereiratech_faturamento_fat_listing.xml




      <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
      <argument name="data" xsi:type="array">
      <item name="js_config" xsi:type="array">
      <item name="provider" xsi:type="string">pereiratech_faturamento_fat_listing.pereiratech_faturamento_fat_listing_data_source</item>
      <item name="deps" xsi:type="string">pereiratech_faturamento_fat_listing.pereiratech_faturamento_fat_listing_data_source</item>
      </item>
      <item name="spinner" xsi:type="string">spinner_columns</item>
      <item name="buttons" xsi:type="array">
      <item name="add" xsi:type="array">
      <item name="name" xsi:type="string">add</item>
      <item name="label" xsi:type="string" translate="true">Novo faturamento</item>
      <item name="class" xsi:type="string">primary</item>
      <item name="url" xsi:type="string">*/*/new</item>
      </item>
      </item>
      </argument>
      <dataSource name="pereiratech_fat">
      <argument name="dataProvider" xsi:type="configurableObject">
      <argument name="class" xsi:type="string">MagentoFrameworkViewElementUiComponentDataProviderDataProvider</argument>
      <argument name="name" xsi:type="string">pereiratech_faturamento_fat_listing_data_source</argument>
      <argument name="primaryFieldName" xsi:type="string">fat_id</argument>
      <argument name="requestFieldName" xsi:type="string">id</argument>
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="component" xsi:type="string">Magento_Ui/js/grid/provider</item>
      <item name="update_url" xsi:type="url" path="mui/index/render"/>
      <item name="storageConfig" xsi:type="array">
      <item name="indexField" xsi:type="string">fat_id</item>
      </item>
      </item>
      </argument>
      </argument>
      </dataSource>
      <listingToolbar name="listing_top">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="sticky" xsi:type="boolean">true</item>
      </item>
      </argument>
      <bookmark name="bookmarks"/>
      <columnsControls name="columns_controls"/>
      <exportButton name="export_button"/>
      <filters name="listing_filters" />
      <filterSearch name="fulltext"/>
      <massaction name="listing_massaction">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="component" xsi:type="string">Magento_Ui/js/grid/tree-massactions</item>
      </item>
      </argument>
      <action name="delete">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="type" xsi:type="string">delete</item>
      <item name="label" xsi:type="string" translate="true">Delete</item>
      <item name="url" xsi:type="url" path="pereiratech_faturamento/fat/massDelete"/>
      <item name="confirm" xsi:type="array">
      <item name="title" xsi:type="string" translate="true">Delete Post</item>
      <item name="message" xsi:type="string" translate="true">Are you sure you wan't to delete selected items?</item>
      </item>
      </item>
      </argument>
      </action>
      </massaction>
      <paging name="listing_paging"/>
      </listingToolbar>
      <columns name="spinner_columns">
      <selectionsColumn name="ids">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="resizeEnabled" xsi:type="boolean">false</item>
      <item name="resizeDefaultWidth" xsi:type="string">55</item>
      <item name="indexField" xsi:type="string">fat_id</item>
      </item>
      </argument>
      </selectionsColumn>
      <column name="fat_id">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">textRange</item>
      <item name="sorting" xsi:type="string">asc</item>
      <item name="label" xsi:type="string" translate="true">ID</item>
      </item>
      </argument>
      </column>
      <column name="cliente">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Cliente</item>
      </item>
      </argument>
      </column>
      <column name="cliente_cpf_cnpj">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">CPF/CNPJ</item>
      </item>
      </argument>
      </column>
      <column name="vendas_id">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Ordens</item>
      </item>
      </argument>
      </column>
      <column name="data_inicio" class="MagentoUiComponentListingColumnsDate">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">dateRange</item>
      <item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
      <item name="dataType" xsi:type="string">date</item>
      <item name="label" xsi:type="string" translate="true">De</item>
      </item>
      </argument>
      </column>
      <column name="data_fim" class="MagentoUiComponentListingColumnsDate">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">dateRange</item>
      <item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
      <item name="dataType" xsi:type="string">date</item>
      <item name="label" xsi:type="string" translate="true">Até</item>
      </item>
      </argument>
      </column>
      <column name="subtotal">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Subtotal</item>
      </item>
      </argument>
      </column>
      <column name="desconto">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Desconto</item>
      </item>
      </argument>
      </column>
      <column name="total">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Total</item>
      </item>
      </argument>
      </column>
      <column name="pago">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Pago</item>
      </item>
      </argument>
      </column>
      </columns>
      </listing>









      share|improve this question









      New contributor




      Murilo Pereira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I have a custom module on my Magento 2 installation. The problem is when I access the admin grid, it's returning a blank page, just with the title of the page, like the following picture.



      enter image description here



      I already have tried to clean and flush the cache, but no success.




      My Controller/Adminhtml/Fat/Index.php




      <?php

      namespace PereiraTechFaturamentoControllerAdminhtmlFat;

      class Index extends MagentoBackendAppAction
      {
      protected $resultPageFactory = false;

      public function __construct(
      MagentoBackendAppActionContext $context,
      MagentoFrameworkViewResultPageFactory $resultPageFactory
      )
      {
      parent::__construct($context);
      $this->resultPageFactory = $resultPageFactory;
      }

      public function execute()
      {
      $resultPage = $this->resultPageFactory->create();
      $resultPage->getConfig()->getTitle()->prepend((__('Faturamentos')));

      return $resultPage;
      }


      }



      etc/adminhtml/di.xml




      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/ObjectManager/etc/config.xsd">
      <type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
      <arguments>
      <argument name="collections" xsi:type="array">
      <item name="pepreiratech_faturamento_fat_listing_data_source" xsi:type="string">PereiraTechFaturamentoModelResourceModelFatGridCollection</item>
      </argument>
      </arguments>
      </type>
      <virtualType name="PereiraTechFaturamentoModelResourceModelFatGridCollection" type="MagentoFrameworkViewElementUiComponentDataProviderSearchResult">
      <arguments>
      <argument name="mainTable" xsi:type="string">pereiratech_fat</argument>
      <argument name="resourceModel" xsi:type="string">PereirTechFaturamentoModelResourceModelFat</argument>
      </arguments>
      </virtualType>
      </config>



      etc/htmladmin/routes.xml




      <?xml version="1.0"?>
      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
      <router id="admin">
      <route id="fat" frontName="faturamento">
      <module name="PereiraTech_Faturamento"/>
      </route>
      </router>
      </config>



      view/adminhtml/layout/pereiratech_faturamento_fat_index.xml




      <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
      <update handle="styles"/>
      <body>
      <referenceContainer name="content">
      <uiComponent name="pereiratech_faturamento_fat_listing"/>
      </referenceContainer>
      </body>
      </page>



      view/adminhtml/ui_component/pereiratech_faturamento_fat_listing.xml




      <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
      <argument name="data" xsi:type="array">
      <item name="js_config" xsi:type="array">
      <item name="provider" xsi:type="string">pereiratech_faturamento_fat_listing.pereiratech_faturamento_fat_listing_data_source</item>
      <item name="deps" xsi:type="string">pereiratech_faturamento_fat_listing.pereiratech_faturamento_fat_listing_data_source</item>
      </item>
      <item name="spinner" xsi:type="string">spinner_columns</item>
      <item name="buttons" xsi:type="array">
      <item name="add" xsi:type="array">
      <item name="name" xsi:type="string">add</item>
      <item name="label" xsi:type="string" translate="true">Novo faturamento</item>
      <item name="class" xsi:type="string">primary</item>
      <item name="url" xsi:type="string">*/*/new</item>
      </item>
      </item>
      </argument>
      <dataSource name="pereiratech_fat">
      <argument name="dataProvider" xsi:type="configurableObject">
      <argument name="class" xsi:type="string">MagentoFrameworkViewElementUiComponentDataProviderDataProvider</argument>
      <argument name="name" xsi:type="string">pereiratech_faturamento_fat_listing_data_source</argument>
      <argument name="primaryFieldName" xsi:type="string">fat_id</argument>
      <argument name="requestFieldName" xsi:type="string">id</argument>
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="component" xsi:type="string">Magento_Ui/js/grid/provider</item>
      <item name="update_url" xsi:type="url" path="mui/index/render"/>
      <item name="storageConfig" xsi:type="array">
      <item name="indexField" xsi:type="string">fat_id</item>
      </item>
      </item>
      </argument>
      </argument>
      </dataSource>
      <listingToolbar name="listing_top">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="sticky" xsi:type="boolean">true</item>
      </item>
      </argument>
      <bookmark name="bookmarks"/>
      <columnsControls name="columns_controls"/>
      <exportButton name="export_button"/>
      <filters name="listing_filters" />
      <filterSearch name="fulltext"/>
      <massaction name="listing_massaction">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="component" xsi:type="string">Magento_Ui/js/grid/tree-massactions</item>
      </item>
      </argument>
      <action name="delete">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="type" xsi:type="string">delete</item>
      <item name="label" xsi:type="string" translate="true">Delete</item>
      <item name="url" xsi:type="url" path="pereiratech_faturamento/fat/massDelete"/>
      <item name="confirm" xsi:type="array">
      <item name="title" xsi:type="string" translate="true">Delete Post</item>
      <item name="message" xsi:type="string" translate="true">Are you sure you wan't to delete selected items?</item>
      </item>
      </item>
      </argument>
      </action>
      </massaction>
      <paging name="listing_paging"/>
      </listingToolbar>
      <columns name="spinner_columns">
      <selectionsColumn name="ids">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="resizeEnabled" xsi:type="boolean">false</item>
      <item name="resizeDefaultWidth" xsi:type="string">55</item>
      <item name="indexField" xsi:type="string">fat_id</item>
      </item>
      </argument>
      </selectionsColumn>
      <column name="fat_id">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">textRange</item>
      <item name="sorting" xsi:type="string">asc</item>
      <item name="label" xsi:type="string" translate="true">ID</item>
      </item>
      </argument>
      </column>
      <column name="cliente">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Cliente</item>
      </item>
      </argument>
      </column>
      <column name="cliente_cpf_cnpj">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">CPF/CNPJ</item>
      </item>
      </argument>
      </column>
      <column name="vendas_id">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Ordens</item>
      </item>
      </argument>
      </column>
      <column name="data_inicio" class="MagentoUiComponentListingColumnsDate">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">dateRange</item>
      <item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
      <item name="dataType" xsi:type="string">date</item>
      <item name="label" xsi:type="string" translate="true">De</item>
      </item>
      </argument>
      </column>
      <column name="data_fim" class="MagentoUiComponentListingColumnsDate">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">dateRange</item>
      <item name="component" xsi:type="string">Magento_Ui/js/grid/columns/date</item>
      <item name="dataType" xsi:type="string">date</item>
      <item name="label" xsi:type="string" translate="true">Até</item>
      </item>
      </argument>
      </column>
      <column name="subtotal">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Subtotal</item>
      </item>
      </argument>
      </column>
      <column name="desconto">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Desconto</item>
      </item>
      </argument>
      </column>
      <column name="total">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Total</item>
      </item>
      </argument>
      </column>
      <column name="pago">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="filter" xsi:type="string">text</item>
      <item name="editor" xsi:type="array">
      <item name="editorType" xsi:type="string">text</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
      </item>
      </item>
      <item name="label" xsi:type="string" translate="true">Pago</item>
      </item>
      </argument>
      </column>
      </columns>
      </listing>






      magento2 module adminhtml custom-options custom






      share|improve this question









      New contributor




      Murilo Pereira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Murilo Pereira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 2 mins ago









      Sanjay Gohil

      487215




      487215






      New contributor




      Murilo Pereira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 8 hours ago









      Murilo PereiraMurilo Pereira

      62




      62




      New contributor




      Murilo Pereira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Murilo Pereira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Murilo Pereira is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "479"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Murilo Pereira is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269066%2fmagento-2-custom-extension-admin-grid-returning-blank%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Murilo Pereira is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Murilo Pereira is a new contributor. Be nice, and check out our Code of Conduct.













          Murilo Pereira is a new contributor. Be nice, and check out our Code of Conduct.












          Murilo Pereira is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269066%2fmagento-2-custom-extension-admin-grid-returning-blank%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...