# \[Perspective table\] - How to display two columns of row data in multiple lines?

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-how-to-display-two-columns-of-row-data-in-multiple-lines/83687>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [January 2, 2024, 3:31pm UTC](https://forum.inductiveautomation.com/t/perspective-table-how-to-display-two-columns-of-row-data-in-multiple-lines/83687 "2024-01-02T15:31:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [January 2, 2024, 3:31pm UTC](https://forum.inductiveautomation.com/t/perspective-table-how-to-display-two-columns-of-row-data-in-multiple-lines/83687/1 "2024-01-02T15:31:39Z")

</div>

How to display two columns of row data in multiple lines so that it would show data of row in multiple lines in small size devices.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [January 2, 2024, 3:58pm UTC](https://forum.inductiveautomation.com/t/perspective-table-how-to-display-two-columns-of-row-data-in-multiple-lines/83687/2 "2024-01-02T15:58:52Z")

</div>

I'm not sure I follow your question. Are you wanting to only show two columns of a larger dataset, or are you wanting to pivot 2 columns to be shown as rows?

Can you provide an example of what you're looking for?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [January 2, 2024, 6:08pm UTC](https://forum.inductiveautomation.com/t/perspective-table-how-to-display-two-columns-of-row-data-in-multiple-lines/83687/3 "2024-01-02T18:08:11Z")

</div>

You can't force the Table to render data "down" instead of "across". But you can manipulate your data to work this way:

Original data:

```auto
[
    {
        "name": "Row1",
        "value": 1
    },
    {
        "name": "Row2",
        "value": 2
    }
]

```

This displays in the Table in a manner such as this:

 ![Screenshot 2024-01-02 at 10.19.44 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/3/8349f3fc49ff3c36d727e11aa6c15f1d0747f7e8.png)

Modify your data to this shape:

```auto
[
    {
        "name": "Name",
        "Row1": "Row1",
        "Row2": "Row2"
    },
    {
        "name": "Value",
        "Row1": 1,
        "Row2": 2
    }
]

```

Then modify the column configurations of your Table to point to these new keys (`name`, `Row1`, and `Row2`), and disable your Header.

 ![Screenshot 2024-01-02 at 10.20.24 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/9/a97841da4a24f1c781f4ae3ae3444488ce02c627.png)  
Keep in mind that you will need a new key shared among all objects for each of the "columns" you want displayed as rows.
