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
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
add a comment |
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
add a comment |
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
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
magento2 uicomponent
asked 18 hours ago
akgolaakgola
1,452520
1,452520
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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