# Perspective Table Row Height not working with embedded view columns

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-row-height-not-working-with-embedded-view-columns/78382>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 25, 2023, 10:48am UTC](https://forum.inductiveautomation.com/t/perspective-table-row-height-not-working-with-embedded-view-columns/78382 "2023-08-25T10:48:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![liam1](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@liam1](https://forum.inductiveautomation.com/u/liam1)\
**Post date:** [August 25, 2023, 10:48am UTC](https://forum.inductiveautomation.com/t/perspective-table-row-height-not-working-with-embedded-view-columns/78382/1 "2023-08-25T10:48:02Z")

</div>

The Row Height Property on the table does not work when columns have embedded views set

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/b/8be0a18f5c2ff8f692434b769b1c482a0665f056.png)

The only work around I have found is to use `props.cells.style.height` to alter the the height but this now means the embedded view does not scale the embedded view correctly.

Trying to use `row.height:60`

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/e/4e66c0783b4d03c239e8ecff1960fcdf49ff79f9.png)  
Using `cell.style.height:60`  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/8/e83e5aa59a04883c4f20ee565598b178564c81af.png)

Is there a way of getting to working correctly ?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [August 25, 2023, 11:27am UTC](https://forum.inductiveautomation.com/t/perspective-table-row-height-not-working-with-embedded-view-columns/78382/2 "2023-08-25T11:27:27Z")

</div>

I'm just checking the silly stuff first: Did you try  
`rows.height : auto`?

---

<div class="post-metadata">

**Author:** ![liam1](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@liam1](https://forum.inductiveautomation.com/u/liam1)\
**Post date:** [August 25, 2023, 12:21pm UTC](https://forum.inductiveautomation.com/t/perspective-table-row-height-not-working-with-embedded-view-columns/78382/3 "2023-08-25T12:21:32Z")

</div>

This is the desired outcome I am trying to achieve ,this table is created using the flow historian.

As you can see, the sparkline is scaled to fit within the row height.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/7/47622b49e09b78b4c158e26f23a7880b827d79ea.png)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [August 27, 2023, 10:36am UTC](https://forum.inductiveautomation.com/t/perspective-table-row-height-not-working-with-embedded-view-columns/78382/4 "2023-08-27T10:36:42Z")

</div>

For embedded views, there're usually props to use the embedded View's width and height. Turning this off will mean it will scale. Find this setting and it should fix it

---

<div class="post-metadata">

**Author:** ![liam1](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@liam1](https://forum.inductiveautomation.com/u/liam1)\
**Post date:** [September 1, 2023, 10:08am UTC](https://forum.inductiveautomation.com/t/perspective-table-row-height-not-working-with-embedded-view-columns/78382/5 "2023-09-01T10:08:27Z")

</div>

Seems the column config with embedded views enabled doesn't support scaling.

---

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [October 16, 2023, 3:12pm UTC](https://forum.inductiveautomation.com/t/perspective-table-row-height-not-working-with-embedded-view-columns/78382/6 "2023-10-16T15:12:22Z")

</div>

There are no **useDefaultViewWidth** and **useDefaultViewHeight** properties for a Table columns that are rendering a View. However, the Embedded View component has these properties.

---

<div class="post-metadata">

**Author:** ![alex3](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@alex3](https://forum.inductiveautomation.com/u/alex3)\
**Post date:** [September 10, 2026, 5:06pm UTC](https://forum.inductiveautomation.com/t/perspective-table-row-height-not-working-with-embedded-view-columns/78382/7 "2026-09-10T17:06:55Z")

</div>

I know this is an old thread, but I ran into this issue today. I couldn't figure out why my row heights were so large when using a column `view`.

This thread also had some ideas: [[FEATURE-16567] Perspective Table Row Height - Ignition Early Access - Inductive Automation Forum](https://forum.inductiveautomation.com/t/feature-16567-perspective-table-row-height/33466/15)

But they either didn't work or felt very hacky.

What I had missed is that the table row height seems to respect the `basis` value of the container used for the column view. Easy to miss the `basis` when you just change the default viewport size when developing the `view`.
