\Magento\Ui\Component\Listing\Columns\Column has access to all grid columns #6525
Labels
bug report
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Reproduced on 2.1.x
The issue has been reproduced on latest 2.1 release
Reproduced on 2.2.x
The issue has been reproduced on latest 2.2 release
Reproduced on 2.3.x
The issue has been reproduced on latest 2.3 release
triage wanted
You can use an extended column class instead of the default
\Magento\Ui\Component\Listing\Columns\Column
in a grid ui component which is great. Less great thing is that when you set a custom class for one column like:In
public function prepareDataSource(array $dataSource)
you get unlimited access to data of all columns.Preconditions
Steps to reproduce
public function prepareDataSource(array $dataSource)
Expected result
Actual result
I just hope that programmers will not overuse this access and keep their code clean.
The text was updated successfully, but these errors were encountered: