There are two models of Goods and AddFeild . Addfeild is linked to the Goods field by the id_good link hasMany There is a need to output through the Gridview content of the Goods model, and all the data of the associated Addfeild model. Do not tell me how this can be implemented. Or where to find how it is implemented.
- In one table, I have not seen this. Usually make a link to the referring model. And Addfeild further for example in the popUp show. Although you can add a valid accordeon to the cell and display the data there (but you need to understand that this will drive the entire table) - Ninazu
|
1 answer
If you are friends with English, and is ready to endure a not very strong accent of a Hindu, that is, a video where he uses the kartik \ dynaimid-forms extension to create a po model, and when he clicks on the model he displays related po_items models.
Part 1: https://www.youtube.com/watch?v=qqFpTBr323Y&list=PLRd0zhQj3CBmusDbBzFgg3H20VxLx2mkF&index=28
Part 2: https://www.youtube.com/watch?v=eAg0LIrZDdk&list=PLRd0zhQj3CBmusDbBzFgg3H20VxLx2mkF&index=29
|