ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 33 - AD0-E716 discussion

Report
Export

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.
Answers
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.
Answers
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.
Answers
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.
Suggested answer: A
asked 02/10/2024
Alemu, Fissha
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first