Results 1 to 4 of 4

Thread: load data dynamically on a formpanel in table layout

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default load data dynamically on a formpanel in table layout

    Hi ,

    I wanted to How to go about this . I am only a newbie . is the only way to do it is to load the data in a store?

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Answers
    60
    Vote Rating
    131
      0  

    Default

    You can use FormBinding for this. You do not have to use a Store, however if you use one the changes are done over a Record instead of directly to the bound model.

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default

    I have no clue what that is. Let me explain my situation. I have a form with 2 labels :

    Label1: A
    Label2: B

    I am retrieving A and B from a database. I now want to display them at the positions showed above . How do I do it?

  4. #4
    Sencha User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Answers
    109
    Vote Rating
    93
      0  

    Default

    Take a look through the docs, and the examples, to see if this idea is already implemented. Sven's suggestions of FormBinding is demoed here: http://www.sencha.com/examples/explo...l#basicbinding. Note that the source for the example is available in the second tab. The LabelField will work like the other text fields, but will not allow the user to edit the data.

    Note also that ExtGWT doesn't use tables by default for most layouts, as there are almost always better/faster ways of drawing content. If you actually want a <table> to wrap your content, not just that basic label: value appearance, you may need to implement some of these details on your own.

Tags for this Thread

Posting Permissions

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