filmov
tv
How to create a grid using UI component in Magento 2

Показать описание
Hi Everybody, I am Cuong, Welcome to my Magento 2 Tutorial video series.
In the previous lessons, I showed everyone:
To continue the previous lessons, today, I am going to show everybody How to create a grid using UI component in Magento 2.
I will create a grid showing the banners saved in the table named phpcuong_banners_slider
To complete this best practice you need to complete the following high-level steps:
1. Create the new menu named Banner Slider
2. Create the new route named phpcuong_banners_slider for using
3. Create the new controller, action
- Create the folder named Banner in the path app\code\PHPCuong\BannerSlider\Controller\Adminhtml
4. Create the new layout
5. Create the new ui_component
7. Create the new model named Banner
8. Create the new ResourceModel named Banner
9. Create the new Collection
10. Create the new grid collection
11. Flush the caches and See the results.
- php bin/magento cache:flush
It works perfectly.
Thank you for your watching. If you have any questions about this exercise please feel free to leave a comment below.
Don't forget to like, comment, share and subscribe to my channel for getting the latest videos.
Please do not hesitate to contact me if you need me to join your Magento project. My rate is $25/hour in Magento 1 and $30/hour in Magento 2.
the Skype: cuongnq87
In the previous lessons, I showed everyone:
To continue the previous lessons, today, I am going to show everybody How to create a grid using UI component in Magento 2.
I will create a grid showing the banners saved in the table named phpcuong_banners_slider
To complete this best practice you need to complete the following high-level steps:
1. Create the new menu named Banner Slider
2. Create the new route named phpcuong_banners_slider for using
3. Create the new controller, action
- Create the folder named Banner in the path app\code\PHPCuong\BannerSlider\Controller\Adminhtml
4. Create the new layout
5. Create the new ui_component
7. Create the new model named Banner
8. Create the new ResourceModel named Banner
9. Create the new Collection
10. Create the new grid collection
11. Flush the caches and See the results.
- php bin/magento cache:flush
It works perfectly.
Thank you for your watching. If you have any questions about this exercise please feel free to leave a comment below.
Don't forget to like, comment, share and subscribe to my channel for getting the latest videos.
Please do not hesitate to contact me if you need me to join your Magento project. My rate is $25/hour in Magento 1 and $30/hour in Magento 2.
the Skype: cuongnq87
Комментарии