Add product grid in custom module using ui componentMagento 2 : How to add a product grid in custom module using ui component?I created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?Difference when to declare an object via MagentoFrameworkObjectManagerInterface and inject via the constructorMagento 2.1: Invoke urlBuilder->getUrl() in a controller in a custom moduleMagento 2: How to override newsletter Subscriber modelPrice not getting updated for second product…Magento 2 : Custom module plugin is not workingForm is not displayed on panel admin Magento 2Magento 2: I Want to add multiple product using checkboxMagento 2.3 Can't view module's front end page output?magento 2.2 trying to save multi select value in database
Jesus' words on the Jews
Are there any established rules for splitting books into parts, chapters, sections etc?
What is the best way for a skeleton to impersonate human without using magic?
If current results hold, Man City would win PL title
Wireless headphones interfere with Wi-Fi signal on laptop
Program which behaves differently in/out of a debugger
How to distinguish PICTURE OF ME and PICTURE OF MINE in Chinese?
In books, how many dragons are there in present time?
Why was Endgame Thanos so different than Infinity War Thanos?
Can I say that master can only initiate communication in SPI vs. in I2C slave can also initiate the communication?
Is there anything special about -1 (0xFFFFFFFF) regarding ADC?
When a land becomes a creature, is it untapped?
Why do I get two different answers when solving for arclength?
On what legal basis did the UK remove the 'European Union' from its passport?
How can dragons propel their breath attacks to a long distance
Was this character’s old age look CGI or make-up?
What was the significance of Varys' little girl?
Is Germany still exporting arms to countries involved in Yemen?
Where to find every-day healthy food near Heathrow Airport?
Why does lemon juice reduce the "fish" odor of sea food — specifically fish?
Determine the slope and write the Cartesian equation of the line.
Can I say: "When was your train leaving?" if the train leaves in the future?
Labeling matrices/rectangles and drawing Sigma inside rectangle
Do Life Drain attacks from wights stack?
Add product grid in custom module using ui component
Magento 2 : How to add a product grid in custom module using ui component?I created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?Difference when to declare an object via MagentoFrameworkObjectManagerInterface and inject via the constructorMagento 2.1: Invoke urlBuilder->getUrl() in a controller in a custom moduleMagento 2: How to override newsletter Subscriber modelPrice not getting updated for second product…Magento 2 : Custom module plugin is not workingForm is not displayed on panel admin Magento 2Magento 2: I Want to add multiple product using checkboxMagento 2.3 Can't view module's front end page output?magento 2.2 trying to save multi select value in database
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have followed this solution Magento 2 : How to add a product grid in custom module using ui component? but i am getting this
What i am doing wrong can any one help me on this.
Edit Controller
class Edit extends Action
ResponseInterface
* @throws MagentoFrameworkExceptionNotFoundException
*/
public function execute()
try
$resultRaw = $this->resultRawFactory->create();
return $resultRaw->setContents(
$this->layoutFactory->create()->createBlock(
'AllureCelebritiesBlockAdminhtmlProductsEditTabProduct',
'category.product.grid'
)->toHtml()
);
catch (Exception $exception)
$this->messageManager->addErrorMessage($exception->getMessage());
$this->_redirect("*/celebrities/index");
return;
protected function _initItem($getRootInstead = false)
$id = (int)$this->getRequest()->getParam('id', false);
$myModel = $this->_objectManager->create('AllureCelebritiesModelCelebrity');
if ($id)
$myModel->load($id);
$this->_objectManager->get('MagentoFrameworkRegistry')->register('item', $myModel);
$this->_objectManager->get('MagentoFrameworkRegistry')->register('my_item', $myModel);
$this->_objectManager->get('MagentoCmsModelWysiwygConfig');
return $myModel;
magento2 magento-2.1 uicomponent list-view
add a comment |
I have followed this solution Magento 2 : How to add a product grid in custom module using ui component? but i am getting this
What i am doing wrong can any one help me on this.
Edit Controller
class Edit extends Action
ResponseInterface
* @throws MagentoFrameworkExceptionNotFoundException
*/
public function execute()
try
$resultRaw = $this->resultRawFactory->create();
return $resultRaw->setContents(
$this->layoutFactory->create()->createBlock(
'AllureCelebritiesBlockAdminhtmlProductsEditTabProduct',
'category.product.grid'
)->toHtml()
);
catch (Exception $exception)
$this->messageManager->addErrorMessage($exception->getMessage());
$this->_redirect("*/celebrities/index");
return;
protected function _initItem($getRootInstead = false)
$id = (int)$this->getRequest()->getParam('id', false);
$myModel = $this->_objectManager->create('AllureCelebritiesModelCelebrity');
if ($id)
$myModel->load($id);
$this->_objectManager->get('MagentoFrameworkRegistry')->register('item', $myModel);
$this->_objectManager->get('MagentoFrameworkRegistry')->register('my_item', $myModel);
$this->_objectManager->get('MagentoCmsModelWysiwygConfig');
return $myModel;
magento2 magento-2.1 uicomponent list-view
I think the css file of page is not coming. Can you check the console and also try running content deploy, cache and indexing commands
– surbhi agr
May 9 at 7:07
add a comment |
I have followed this solution Magento 2 : How to add a product grid in custom module using ui component? but i am getting this
What i am doing wrong can any one help me on this.
Edit Controller
class Edit extends Action
ResponseInterface
* @throws MagentoFrameworkExceptionNotFoundException
*/
public function execute()
try
$resultRaw = $this->resultRawFactory->create();
return $resultRaw->setContents(
$this->layoutFactory->create()->createBlock(
'AllureCelebritiesBlockAdminhtmlProductsEditTabProduct',
'category.product.grid'
)->toHtml()
);
catch (Exception $exception)
$this->messageManager->addErrorMessage($exception->getMessage());
$this->_redirect("*/celebrities/index");
return;
protected function _initItem($getRootInstead = false)
$id = (int)$this->getRequest()->getParam('id', false);
$myModel = $this->_objectManager->create('AllureCelebritiesModelCelebrity');
if ($id)
$myModel->load($id);
$this->_objectManager->get('MagentoFrameworkRegistry')->register('item', $myModel);
$this->_objectManager->get('MagentoFrameworkRegistry')->register('my_item', $myModel);
$this->_objectManager->get('MagentoCmsModelWysiwygConfig');
return $myModel;
magento2 magento-2.1 uicomponent list-view
I have followed this solution Magento 2 : How to add a product grid in custom module using ui component? but i am getting this
What i am doing wrong can any one help me on this.
Edit Controller
class Edit extends Action
ResponseInterface
* @throws MagentoFrameworkExceptionNotFoundException
*/
public function execute()
try
$resultRaw = $this->resultRawFactory->create();
return $resultRaw->setContents(
$this->layoutFactory->create()->createBlock(
'AllureCelebritiesBlockAdminhtmlProductsEditTabProduct',
'category.product.grid'
)->toHtml()
);
catch (Exception $exception)
$this->messageManager->addErrorMessage($exception->getMessage());
$this->_redirect("*/celebrities/index");
return;
protected function _initItem($getRootInstead = false)
$id = (int)$this->getRequest()->getParam('id', false);
$myModel = $this->_objectManager->create('AllureCelebritiesModelCelebrity');
if ($id)
$myModel->load($id);
$this->_objectManager->get('MagentoFrameworkRegistry')->register('item', $myModel);
$this->_objectManager->get('MagentoFrameworkRegistry')->register('my_item', $myModel);
$this->_objectManager->get('MagentoCmsModelWysiwygConfig');
return $myModel;
magento2 magento-2.1 uicomponent list-view
magento2 magento-2.1 uicomponent list-view
asked May 9 at 5:11
Avesh NaikAvesh Naik
438114
438114
I think the css file of page is not coming. Can you check the console and also try running content deploy, cache and indexing commands
– surbhi agr
May 9 at 7:07
add a comment |
I think the css file of page is not coming. Can you check the console and also try running content deploy, cache and indexing commands
– surbhi agr
May 9 at 7:07
I think the css file of page is not coming. Can you check the console and also try running content deploy, cache and indexing commands
– surbhi agr
May 9 at 7:07
I think the css file of page is not coming. Can you check the console and also try running content deploy, cache and indexing commands
– surbhi agr
May 9 at 7:07
add a comment |
1 Answer
1
active
oldest
votes
Try this, it seems to be working
http://www.webspeaks.in/2016/05/magento-2-add-products-grid-to-custom-admin-module.html
That is an alternate solution. I want it using UI component.
– Avesh Naik
May 9 at 7:24
amasty.com/blog/how-to-use-ui-components-in-magento-2
– lama377
May 9 at 12:37
add a comment |
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%2f273927%2fadd-product-grid-in-custom-module-using-ui-component%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try this, it seems to be working
http://www.webspeaks.in/2016/05/magento-2-add-products-grid-to-custom-admin-module.html
That is an alternate solution. I want it using UI component.
– Avesh Naik
May 9 at 7:24
amasty.com/blog/how-to-use-ui-components-in-magento-2
– lama377
May 9 at 12:37
add a comment |
Try this, it seems to be working
http://www.webspeaks.in/2016/05/magento-2-add-products-grid-to-custom-admin-module.html
That is an alternate solution. I want it using UI component.
– Avesh Naik
May 9 at 7:24
amasty.com/blog/how-to-use-ui-components-in-magento-2
– lama377
May 9 at 12:37
add a comment |
Try this, it seems to be working
http://www.webspeaks.in/2016/05/magento-2-add-products-grid-to-custom-admin-module.html
Try this, it seems to be working
http://www.webspeaks.in/2016/05/magento-2-add-products-grid-to-custom-admin-module.html
answered May 9 at 7:10
lama377lama377
161
161
That is an alternate solution. I want it using UI component.
– Avesh Naik
May 9 at 7:24
amasty.com/blog/how-to-use-ui-components-in-magento-2
– lama377
May 9 at 12:37
add a comment |
That is an alternate solution. I want it using UI component.
– Avesh Naik
May 9 at 7:24
amasty.com/blog/how-to-use-ui-components-in-magento-2
– lama377
May 9 at 12:37
That is an alternate solution. I want it using UI component.
– Avesh Naik
May 9 at 7:24
That is an alternate solution. I want it using UI component.
– Avesh Naik
May 9 at 7:24
amasty.com/blog/how-to-use-ui-components-in-magento-2
– lama377
May 9 at 12:37
amasty.com/blog/how-to-use-ui-components-in-magento-2
– lama377
May 9 at 12:37
add a comment |
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%2f273927%2fadd-product-grid-in-custom-module-using-ui-component%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
I think the css file of page is not coming. Can you check the console and also try running content deploy, cache and indexing commands
– surbhi agr
May 9 at 7:07