Aller au contenu principal

Example how to use custom VertiGIS Studio Web Form Elements

Commentaires

4 commentaires

  • Berend Veldkamp

    Hi Yannick,

     

    I assume the relevant properties you want to set are rows and cols. You can set these properties in the load event of the form element, using Set Form Element Property:

    1. Columns

    Property Name: cols

    Property Value:

    =[{
            "name": "col1"
        },
        {
            "name": "col2"
        }
    ]

     

    2. Rows

    Property Name: rows

    Property Value: 

    =[{
       "col1": 10,
       "col2": "Hello"
    }]

     

    Result:

    1
  • Yannick Mijnheer

    Thanks a lot Berend Veldkamp , that makes sense. Exactly what I was looking for.

    0
  • Berend Veldkamp

    I just realized that in newer versions, a table is also supported in Markdown. Depending on what exactly you need, this may be even easier.

     

    Example markdown:

    |col1|col2|
    |-|-|
    |10|Hello|

    The table will be mostly unstyled by default, so you may need some extra CSS for e.g. table borders

     

    0
  • Brian Bolduc

    I was looking to use the table.  I got as far as your sample above.  I was trying to use a <a href> tag or <link> in one of the cells.  I tried multiple things but nothing that worked.  Could you point me in the right direction.  Thanks

     

    0

Vous devez vous connecter pour laisser un commentaire.