Magento
M70-201 · Question #70
You want to display a grid for a custom collection. After extending Mage_Adminhtml_Block_widget_Grid, which two of these methods should you implement? (Choose two)
The correct answer is B. _prepareCollection() C. _prepareColumns(). See the full explanation below for the reasoning.
Question
You want to display a grid for a custom collection. After extending Mage_Adminhtml_Block_widget_Grid, which two of these methods should you implement? (Choose two)
Options
- A_getCollection()
- B_prepareCollection()
- C_prepareColumns()
- DtoHtmlO
- Erender()
How the community answered
(27 responses)- A11% (3)
- B81% (22)
- D4% (1)
- E4% (1)
Community Discussion
No community discussion yet for this question.