1
vote
Accepted
In Model Edit, display filtered grid of another Model
As an example let me provide a solution how to show orders for product edit form
1. Create Data Source Provider
app/code/Acme/Sales/Model/ResourceModel/Product/Order/Grid/Collection.php
<?php
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
model × 770magento2 × 263
magento-1.9 × 133
database × 90
collection × 83
resource-model × 83
module × 67
overrides × 67
magento-2.1 × 30
magento-1 × 30
product × 29
event-observer × 27
controllers × 25
magento-1.7 × 23
php × 23
blocks × 21
attributes × 20
sql × 20
customer × 17
custom × 17
extensions × 16
magento-1.8 × 15
save × 15
api × 14
class × 14