Results 1 to 2 of 2

Thread: possible to load parent/child in a formpanel

  1. #1

    Default possible to load parent/child in a formpanel

    Hi ,

    I have OneToOne Relation : husband/wife with this JSON flow :

    Code:
    {"data":{"key":99,"name":"jean","surname":"jean","wife":{"name":"kelly","surname":'jean'},"success":true}
    Is it possible to load automatically the 'wife' fields ?

    with a Ext.getCmp('myForm').getForm().load({url: ...} I just can load husband data.

    Thanks.

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    you need to setup a JsonReader to do that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •