Yii Framework Forum: create new record and view another data - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

create new record and view another data

#1 User is offline   wilson_xyz 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 53
  • Joined: 18-June 16

Posted 06 December 2017 - 10:57 PM

Hi All,

How to achieve like this.
image

when creating new record, the user click "search pengiriman button" view the modal and select one row and then render view of selected row. how to achieve this?
(render a view from controller A in the active form controller B)

thanks before
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,193
  • Joined: 17-January 09
  • Location:Russia

Posted 07 December 2017 - 03:05 AM

That's called "master-detail".
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I can work more on Yii: https://www.patreon.com/samdark
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users