Magento
M70-101 · Question #117
Given a grid interface that extends from Mage_Adminhtml_Block_widget_Grid, which of the following methods could you override to allow data to be loaded from a custom data collection?
The correct answer is B. _prepareCollection. See the full explanation below for the reasoning.
Question
Given a grid interface that extends from Mage_Adminhtml_Block_widget_Grid, which of the following methods could you override to allow data to be loaded from a custom data collection?
Options
- A_prepareDataModel
- B_prepareCollection
- C_initDataModel
- D_initGrid
How the community answered
(41 responses)- A10% (4)
- B80% (33)
- C7% (3)
- D2% (1)
Community Discussion
No community discussion yet for this question.