Log in
Model

ConvertToXml

Magento\Ui\Model\Export\ConvertToXml

What it does

This class handles exporting UI grid data to XML format in Magento 2.

Developers use it when they need to provide XML export functionality for admin grids, such as exporting product lists, customer data, or order information.

It works with the UI component framework to filter, format, and convert grid data into downloadable XML files.

Public Methods

  • getRowData()
  • getXmlFile()