# How can I create a table in Application Designer?

**URL:** <https://techcommunity.softwareag.com/t/how-can-i-create-a-table-in-application-designer/90347>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Application-Composer\
**Created:** [June 5, 2009, 3:44am UTC](https://techcommunity.softwareag.com/t/how-can-i-create-a-table-in-application-designer/90347 "2009-06-05T03:44:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikas3](https://avatars.discourse-cdn.com/v4/letter/v/2acd7d/32.png) [@vikas3](https://techcommunity.softwareag.com/u/vikas3)\
**Post date:** [June 5, 2009, 3:44am UTC](https://techcommunity.softwareag.com/t/how-can-i-create-a-table-in-application-designer/90347/1 "2009-06-05T03:44:46Z")

</div>

How can I create a table in Application Designer?

I need the create a simple table with 2 columns (header names ‘X’ and ‘Y’) and then 5 rows underneath the header where I can enter values. How do I achieve this using SAG Application Designer?

Thanks,  
Vikas

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [June 5, 2009, 10:54am UTC](https://techcommunity.softwareag.com/t/how-can-i-create-a-table-in-application-designer/90347/2 "2009-06-05T10:54:37Z")

</div>

Hi Vikas,

You can simply use the textgridsss2-control for your table. In Layout Painter editor of Application Designer:

- From the “Grids/Trees” group in the palette: Drag a “Textgrid with Server Side Scrolling” into the pagebody of your layout. This creats a table with 1 column.

- You can drag more columns into your textgridsss2 control from the palette. Use the control “Textgrid column” to do this.

- For the server-side Java implementation have a look at the Application Designer documentation and the demos. Documentation Chapter: “Layout Elements”/“Working with Grids”. In the demos-workplace under “Normal Controls” you’ll find a “Text Grid” example.

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![Martin\_Grumann](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Martin\_Grumann](https://techcommunity.softwareag.com/u/Martin_Grumann)\
**Post date:** [June 5, 2009, 12:34pm UTC](https://techcommunity.softwareag.com/t/how-can-i-create-a-table-in-application-designer/90347/3 "2009-06-05T12:34:42Z")

</div>

mmmmh - I guess textgrid is not the best approach here as direct grid input seems to be required. So best to use a control grid (ROWTABLEAREA2 tag). The grid allows to define columns with any type of input control (text input, combo box,…). Have a look zo documentattion, chapter “ROWTABLEAREA2 - The Flexible Control Grid” is the perfect place to read through when using the grid the first time.

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [June 5, 2009, 12:50pm UTC](https://techcommunity.softwareag.com/t/how-can-i-create-a-table-in-application-designer/90347/4 "2009-06-05T12:50:44Z")

</div>

Ah yes, you are right Martin. I missed, that values should be entered on client side.

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![vikas3](https://avatars.discourse-cdn.com/v4/letter/v/2acd7d/32.png) [@vikas3](https://techcommunity.softwareag.com/u/vikas3)\
**Post date:** [June 20, 2009, 4:40am UTC](https://techcommunity.softwareag.com/t/how-can-i-create-a-table-in-application-designer/90347/5 "2009-06-20T04:40:06Z")

</div>

Hello Chrsitine/Martin,

Thanks for the suggestion but I need an example to create create a static table where I need 1 row for header with columns  
being ‘Airline’, ‘Date’,‘Time’,‘From’,and ‘To’. In that table I need 2 rows  
for data. How do I get the data from these 2 rows into Interstage BPM udas?

Thanks,  
Vikas

---

<div class="post-metadata">

**Author:** ![Martin\_Grumann](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Martin\_Grumann](https://techcommunity.softwareag.com/u/Martin_Grumann)\
**Post date:** [June 22, 2009, 9:06pm UTC](https://techcommunity.softwareag.com/t/how-can-i-create-a-table-in-application-designer/90347/6 "2009-06-22T21:06:52Z")

</div>

Two comments: Airline/From/To are string input fields, Date/Time column have dedicated type. The number of rows is specifified with ROWCOUNT attribute at grid tag.

---

<div class="post-metadata">

**Author:** ![Martin\_Grumann](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Martin\_Grumann](https://techcommunity.softwareag.com/u/Martin_Grumann)\
**Post date:** [June 22, 2009, 9:11pm UTC](https://techcommunity.softwareag.com/t/how-can-i-create-a-table-in-application-designer/90347/7 "2009-06-22T21:11:31Z")

</div>

OK, same post but now also showing the attributes at tags (missing in post above)

```auto

rowtablearea2 rowcount="2" griddataprop="flightConnections" firstrowcolwidths="true" width="100%"
    tr
        gridcolheader name="Airline" propref="airline" width="50%"
        gridcolheader name="Date" propref="date" width="10%"
        gridcolheader name="Time" propref="time" width="10%"
        gridcolheader name="From" propref="from" width="15%"
        gridcolheader name="To" propref="to" width="15%"      
     /tr
     repeat
         tr
             field valueprop="airline" width="100%"
             field valueprop="date" datatype="date" width="100%"
             field valueprop="time" datatype="time" width="100%"
             field valueprop="from" width="100%"
             field valueprop="to" width="100%"          
         /tr
     /repeat
/rowtablearea2
```

---

<div class="post-metadata">

**Author:** ![easyspy](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@easyspy](https://techcommunity.softwareag.com/u/easyspy)\
**Post date:** [August 2, 2011, 5:28pm UTC](https://techcommunity.softwareag.com/t/how-can-i-create-a-table-in-application-designer/90347/8 "2011-08-02T17:28:44Z")

</div>

I agree with given idea. Simply, follow the instructions & you can go easily in drawing table in application designer. Dont forget any of the attribute tags.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:57pm UTC](https://techcommunity.softwareag.com/t/how-can-i-create-a-table-in-application-designer/90347/9 "2021-04-02T14:57:07Z")

</div>


