Magento 2 data Grid with UI Component,Why not require Resource ModelMagento2: store_id in UI Listing ComponentHow can i rewrite TierPrice Block in Magento2Argument in DI.xml cannot resolve 'array' to a type definition for element 'argument'Argument problem when passed to Model in custom extensionMagento 2: What's the Difference Between the Two Grid Component Data Providers?Magento 2: Duplicate key-sequence unique identity-constraint 'uniqueVirtualType' fatal error while di:compilesorting not working magento 2Ui Template / Adminhtml issueAdminhtml Grid giving error Magento 2Error during compilation in magento 2.2.2How to allow duplicate entries in admin grid

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

How badly should I try to prevent a user from XSSing themselves?

How can I deal with my CEO asking me to hire someone with a higher salary than me, a co-founder?

Why do I get negative height?

What is the opposite of "eschatology"?

Does the Idaho Potato Commission associate potato skins with healthy eating?

Finding the error in an argument

Theorists sure want true answers to this!

Is it possible to map the firing of neurons in the human brain so as to stimulate artificial memories in someone else?

What is a Samsaran Word™?

Are British MPs missing the point, with these 'Indicative Votes'?

Why was Sir Cadogan fired?

Why is the sentence "Das ist eine Nase" correct?

How dangerous is XSS

My ex-girlfriend uses my Apple ID to log in to her iPad. Do I have to give her my Apple ID password to reset it?

How do I exit BASH while loop using modulus operator?

how do we prove that a sum of two periods is still a period?

One verb to replace 'be a member of' a club

Why didn't Boeing produce its own regional jet?

How exploitable/balanced is this homebrew spell: Spell Permanency?

What are the G forces leaving Earth orbit?

What exactly is ineptocracy?

Was the old ablative pronoun "med" or "mēd"?

Should I tell management that I intend to leave due to bad software development practices?



Magento 2 data Grid with UI Component,Why not require Resource Model


Magento2: store_id in UI Listing ComponentHow can i rewrite TierPrice Block in Magento2Argument in DI.xml cannot resolve 'array' to a type definition for element 'argument'Argument problem when passed to Model in custom extensionMagento 2: What's the Difference Between the Two Grid Component Data Providers?Magento 2: Duplicate key-sequence unique identity-constraint 'uniqueVirtualType' fatal error while di:compilesorting not working magento 2Ui Template / Adminhtml issueAdminhtml Grid giving error Magento 2Error during compilation in magento 2.2.2How to allow duplicate entries in admin grid













0















I am developing a Module which have functionality to display,add,edit data in Grid from custom table.



I have inserted some data in table manually and with the help of di.xml and ui component xml,data is showing correctly without Model and Resource Model.



So is this possible to display data without Model and ResourceModel and Collection files?



Please see below di.xml file



<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

<virtualType name="VendornameModulenameModelResourceModelGridGridCollection" type="MagentoFrameworkViewElementUiComponentDataProviderSearchResult">
<arguments>
<argument name="mainTable" xsi:type="string">manage_data</argument>
<!--
<argument name="resourceModel" xsi:type="string">VendornameModulenameModelResourceModelGrid</argument>
-->
</arguments>
</virtualType>
<type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<item name="grid_record_grid_list_data_source" xsi:type="string">VendornameModulenameModelResourceModelGridGridCollection</item>
</argument>
</arguments>
</type>
</config>


Please help me that how is possible this?










share|improve this question


























    0















    I am developing a Module which have functionality to display,add,edit data in Grid from custom table.



    I have inserted some data in table manually and with the help of di.xml and ui component xml,data is showing correctly without Model and Resource Model.



    So is this possible to display data without Model and ResourceModel and Collection files?



    Please see below di.xml file



    <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

    <virtualType name="VendornameModulenameModelResourceModelGridGridCollection" type="MagentoFrameworkViewElementUiComponentDataProviderSearchResult">
    <arguments>
    <argument name="mainTable" xsi:type="string">manage_data</argument>
    <!--
    <argument name="resourceModel" xsi:type="string">VendornameModulenameModelResourceModelGrid</argument>
    -->
    </arguments>
    </virtualType>
    <type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
    <arguments>
    <argument name="collections" xsi:type="array">
    <item name="grid_record_grid_list_data_source" xsi:type="string">VendornameModulenameModelResourceModelGridGridCollection</item>
    </argument>
    </arguments>
    </type>
    </config>


    Please help me that how is possible this?










    share|improve this question
























      0












      0








      0








      I am developing a Module which have functionality to display,add,edit data in Grid from custom table.



      I have inserted some data in table manually and with the help of di.xml and ui component xml,data is showing correctly without Model and Resource Model.



      So is this possible to display data without Model and ResourceModel and Collection files?



      Please see below di.xml file



      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

      <virtualType name="VendornameModulenameModelResourceModelGridGridCollection" type="MagentoFrameworkViewElementUiComponentDataProviderSearchResult">
      <arguments>
      <argument name="mainTable" xsi:type="string">manage_data</argument>
      <!--
      <argument name="resourceModel" xsi:type="string">VendornameModulenameModelResourceModelGrid</argument>
      -->
      </arguments>
      </virtualType>
      <type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
      <arguments>
      <argument name="collections" xsi:type="array">
      <item name="grid_record_grid_list_data_source" xsi:type="string">VendornameModulenameModelResourceModelGridGridCollection</item>
      </argument>
      </arguments>
      </type>
      </config>


      Please help me that how is possible this?










      share|improve this question














      I am developing a Module which have functionality to display,add,edit data in Grid from custom table.



      I have inserted some data in table manually and with the help of di.xml and ui component xml,data is showing correctly without Model and Resource Model.



      So is this possible to display data without Model and ResourceModel and Collection files?



      Please see below di.xml file



      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

      <virtualType name="VendornameModulenameModelResourceModelGridGridCollection" type="MagentoFrameworkViewElementUiComponentDataProviderSearchResult">
      <arguments>
      <argument name="mainTable" xsi:type="string">manage_data</argument>
      <!--
      <argument name="resourceModel" xsi:type="string">VendornameModulenameModelResourceModelGrid</argument>
      -->
      </arguments>
      </virtualType>
      <type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
      <arguments>
      <argument name="collections" xsi:type="array">
      <item name="grid_record_grid_list_data_source" xsi:type="string">VendornameModulenameModelResourceModelGridGridCollection</item>
      </argument>
      </arguments>
      </type>
      </config>


      Please help me that how is possible this?







      magento2 uicomponent






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 18 hours ago









      akgolaakgola

      1,452520




      1,452520




















          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
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f268344%2fmagento-2-data-grid-with-ui-component-why-not-require-resource-model%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















          draft saved

          draft discarded
















































          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%2f268344%2fmagento-2-data-grid-with-ui-component-why-not-require-resource-model%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

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form