List of questions
Related questions
Question 33 - AD0-E716 discussion
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?
A.
1- Create an after pluginforMagento\Ui\Component\Listing\Columns\Column::prepareColumn(). 2- Add the custom logic within the afterPreparecoiumn method.
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.
Your answer:
0 comments
Sorted by
Leave a comment first