Results 1 to 2 of 2

Thread: examples of binding a store to a form extjs 4.0

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    80
    Answers
    1

    Default examples of binding a store to a form extjs 4.0

    I have a contact detail form like the following

    Name: Anthony
    Tel: 123456

    I have seen several examples of binding json or xml to grids. But how would i bind single records. Are there any examples. I just need a little nudge in the right direction.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    Use loadRecord and pass in a record. You then have updateRecord that you can pass the form values.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Posting Permissions

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