Results 1 to 5 of 5

Thread: Extjs - setting data to texfield from xml file

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default Extjs - setting data to texfield from xml file

    Hi everybody,
    I am very new to sencha architect and trying to set data to textfields from xml file.
    Can anyone help me to do this by using store and model.

    Thanks in advance.

    Nisha

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    You can do this via a reader directly on the Form like the following example:
    http://dev.sencha.com/deploy/ext-4.1.../xml-form.html

    Or probably more commonly you can configure a Model with all of the fields/reader/etc and then set an instance of that Record to the Form using loadRecord.
    Aaron Conran
    @aconran

  3. #3
    Architect Dev Team
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    1
      1  

    Default

    Hi nishaboy,

    Check out the attached example. It demonstrates the use of model, store, and controller.


    Attached Files Attached Files

  4. #4
    Sencha User
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Thank u a lot for ur help..

  5. #5
    Sencha User
    Join Date
    May 2012
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Hi,


    Can it be possible to submit data to xml file by the same method ?


    Thanks in advance

    Manju

Posting Permissions

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