AD0-E716 practice question 15 of 15

An Adobe Commerce developer successfully added a new column to the customers grid. This column needs the data to be formatted before showing its content in the grid. According to best practices, how would the developer add the custom logic to render the column?

Full set: 69 questions
Answer options
A: 1. Create an after pluginforMagento\Ui\Component\Listing\Columns\Column::prepareColumn(). 2. Add the custom logic within the afterPreparecoiumn method. Correct answer
B: 1. Create a custom class extending flagento\Ui\Component\Listing\Columns\Colunm. 2. Add the custom logic within the prepareDataSource method. 3. Add an attribute class to the column node within the module's customer_listing.xml.
C: 1. Override the Magento\Customer\Ui\Component\DataProvider Class using a preference. 2. Override the getData() method and add the custom logic per row.
Correct Answer:
A. 1. Create an after pluginforMagento\Ui\Component\Listing\Columns\Column::prepareColumn(). 2. Add the custom logic within the afterPreparecoiumn method.
Explanation

:

Scroll to Top