Results 1 to 3 of 3

Thread: Dynamic Form Generation

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    290
    Vote Rating
    21
      0  

    Default Dynamic Form Generation

    I'm working on an application which will be using some data entry forms which get dynamically generated based on some selections made by the user. In the simple case, imagine a two panel app, where the left side is a collection of combo boxes, checkboxes, etc. and the right side is a form panel. When the user makes selections on the left and hits 'apply', the right panel needs to display a new set of data entry elements.

    We are using a web service which takes a set of parameters and returns an array of Ext elements which comprise the new data. Conceptually what I would like to do is replace the 'items' collection of a FormPanel with a new Items collection and recompute the layout, but that doesn't work. Am I overlooking a simpler way to accomplish this task?

    Thanks!

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Redwood City
    Posts
    30,760
    Vote Rating
    83
      0  
    Longtime Sencha engineer. Now surplus to requirements apparently...

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    290
    Vote Rating
    21
      0  

    Default

    That certainly looks like a good place to start. I had done some searching on this topic, but didn't come across that thread.

    Thanks!

Posting Permissions

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