1
0
-1

Configured list in the form.

The Value are the same as the label.

Here's the list in the userview:

Here's the list in the form: 

 

Here's what I have modify:

and like I said, my table name is "machine":

**** NEW PICTURES****

 Here's my the form and list I use: 

here's the date of the form "Gestionnaire des paramètres : 

 

 

Here's  how I set up my list grid to be fill: 


  

here's my list of "Gestionnaire des paramètres" : 

    CommentAdd your comment...

    3 answers

    1.  
      2
      1
      0

      Hi Jonatan Nadeau

      List grid are used when you want to select from a popup list of items, and after selecting, it populate the list in the form. That is why the list grid has a property field call "Datalist", which you have set to "List-Machine". And the Load and Store Binder should be set to MultiRow Form Binder, to a new form which you need to create for it to store the list records as a child table.

      So there are 2 components here: 1) first is the datalist to display a selection list, 2) second is the 2nd form that acts as a child table (with a different table name from the parent form), with a foreign key field that acts a reference from the parent to the child table. This form stores the list records.

        CommentAdd your comment...
      1.  
        2
        1
        0

        Hi Jonatan Nadeau

        The free GRID tutorial app in Joget Marketplace (https://marketplace.joget.org/jw/web/userview/mp/mpp/_/vad?id=APP_jlearn1) would be useful for you to analyse and learn on how to implement the GRID form elements.

        You can view all the forms and list and userview items and see how everything fit together.

        1. Jonatan nadeau

          Thank you very much.

        2. Jonatan nadeau

          I have read all the documentation and also check how the list grid was set. So what I did is to fill the "load Binder"with JDBC BINDER then did a select. It still not working and I really don't understand why... Thank you.

        3. Matthew King

          Database tables are usually case sensitive. Best you type as follows: "select * from Machine"

        CommentAdd your comment...
      2.  
        1
        0
        -1

        Hi Matthew,

        first I decide to try filling the list with a other list " list - Gestsionnaire de paramètres". This list is link to a form called " Gestionnaire des paramètres" ( see new picture in responds).

        Now, what I am trying to do is to fill the list grid in the form "Gestionnaire des paramètres liées à machine" with all the data of " Gestionnaire des Paramètres" ( see new picture).

        My question is: 1)

        Do i need to put every columns of the list in the list grid ? ( see two pictures)

        2) I am trying to load the list grid like you said with multirow Form binder which I setup. ( see picture) I tried to do as you say with a parent form, but I don't understand verywell the configuration of it. How am I suppose to say this form will be the child of this other form...

        Thank you very much for the time you take for this request. Have a nice day.

          CommentAdd your comment...