How is it possible to add custom colunm with data from another table to magento cms page grid?enter image description here


There is UI component called Magento/Cms/view/adminhtml/ui_component/cms_page_listing.xml

You need to extend it in your custom module ({your namespace}/{your_module_name}/view/adminhtml/ui_component/cms_page_listing.xml)

Here is section about UI components http://devdocs.magento.com/guides/v2.0/ui-components/ui-component.html

| improve this answer | |
  • Thank you. I have extended the cms_page_listing.xml. Now the question is how would I overwrite the cms grid collection and populate newly created columns with my custom data. Secondly, how would I save them when the user changes their values? – Volodymyr Nechai Apr 20 '16 at 13:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.