# \[Feedback\] NEW Perspective Table

**URL:** <https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199>\
**Category:** Ignition Early Access\
**Created:** [December 3, 2018, 4:59pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199 "2018-12-03T16:59:35Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [January 19, 2020, 9:45pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/61 "2020-01-19T21:45:46Z")

</div>

I have this working great for changing the background color of a row. But how about hiding rows by setting height to zero, which is how I did it in Vision. What style would I use to hide certain rows ({“height”: 0} does not work)?

---

<div class="post-metadata">

**Author:** ![tmahaffey](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tmahaffey/32/30949_2.png) [@tmahaffey](https://forum.inductiveautomation.com/u/tmahaffey)\
**Post date:** [January 30, 2020, 7:24pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/62 "2020-01-30T19:24:17Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/cc971f629de7216a6bda49a3ea1e9092c004c3d3.png)

Is there any way to have the ‘highlight’ feature in the row property highlight a cell if it has a color other than white? I have the background color bound to a custom parameter on the page for even and odd columns, but the even columns(darker) do not highlight.

---

<div class="post-metadata">

**Author:** ![tmahaffey](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tmahaffey/32/30949_2.png) [@tmahaffey](https://forum.inductiveautomation.com/u/tmahaffey)\
**Post date:** [January 31, 2020, 5:20pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/63 "2020-01-31T17:20:18Z")

</div>

I’m using a subview in the rows property, and passing parameters depening on what row is clicked. I’ve noticed that the selectedRow property does not change when I click on the dropdown arrow on the left of the chart, it only changes when I click on any other cell on the chart besdies this one. I’m running my scripting so that if selectedRow == number, then pass the the subview parameters that are appropriate for that rowNum. But, this doesn’t work right if the user just clicks the arrow, they since the selectedRow prop isn’t updating with that. Here’s a video to show it.

---

<div class="post-metadata">

**Author:** ![ppatel1](https://avatars.discourse-cdn.com/v4/letter/p/b77776/32.png) [@ppatel1](https://forum.inductiveautomation.com/u/ppatel1)\
**Post date:** [February 9, 2020, 3:44am UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/64 "2020-02-09T03:44:54Z")

</div>

This transform worked pretty well. After looking closer though, a dataset being fed into this transform is being returned in a json , but the order of the columns compared to dataset is different. From the for loops within this transform, it seems that the rows and columns are being called in order. Is there something that I need to change to allow this or something else ![dataset](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/128605a91c9d38155de4ba497cc54ce97fc495e4.png) ![json](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c8d3eb0286c56043b6a796db5f922156923dfc7b.png)  
Please let me know if there is any additional information I can provide

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 10, 2020, 4:32pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/65 "2020-02-10T16:32:07Z")

</div>

Datasets have ordered columns, but JSON _objects_ (key:value mappings) do not. If you need a deterministic order, you’ll need to sort the keys in the object yourself.

---

<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:** [February 10, 2020, 4:48pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/66 "2020-02-10T16:48:50Z")

</div>

Or, you could set the order of the columns in the table by defining the `column` configs in the order you’d like.

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [March 29, 2020, 8:12pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/67 "2020-03-29T20:12:54Z")

</div>

Can we get the following on the table?

- onRowHover event
- Index or row data for the hovered row.

How do you set the row height?

---

<div class="post-metadata">

**Author:** ![shawn.waltz](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@shawn.waltz](https://forum.inductiveautomation.com/u/shawn.waltz)\
**Post date:** [April 22, 2020, 1:03pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/68 "2020-04-22T13:03:02Z")

</div>

ynejati,

I’ve been struggling to get table conditional formatting work. I went so far as creating a table with data to match your example. Are there more resources that cover this topic? i’m just trying to highlight a table row based on one row column values.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [April 22, 2020, 2:27pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/69 "2020-04-22T14:27:37Z")

</div>

Hi Shawn. Sorry to hear. That example I provided should work. I’d suggest trying it again and attempting to isolate your issue. For more resources, you can try searching the forums or manual, or contacting support. You can also try posting more details here on what it is exactly you’re having problems with. It would not surprise me that a fellow user has had a similar experience.

---

<div class="post-metadata">

**Author:** ![shawn.waltz](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@shawn.waltz](https://forum.inductiveautomation.com/u/shawn.waltz)\
**Post date:** [April 22, 2020, 8:17pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/70 "2020-04-22T20:17:46Z")

</div>

Ynejati. Thanks. I figured it out. I just started from scratch with something simple and went from there.

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [April 22, 2020, 10:31pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/71 "2020-04-22T22:31:06Z")

</div>

Great!

---

<div class="post-metadata">

**Author:** ![Matthew.gaitan](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Matthew.gaitan](https://forum.inductiveautomation.com/u/Matthew.gaitan)\
**Post date:** [April 23, 2020, 11:01pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/72 "2020-04-23T23:01:02Z")

</div>

@ynejati Are there any plans to further improve the speed of the table component when using an array of JSON objects or allow us to use a dataset in conjunction with styles.

I have a table built with 800ish rows and it takes 5-10 seconds for the table to display any data after the props.data property is populated via the transform. (i’m printing the time of the return at the end of my transform and the 5-10 seconds to display any data is after that point)

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [April 24, 2020, 1:41pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/73 "2020-04-24T13:41:17Z")

</div>

There is now! 5-10 seconds is no good at all. I don’t recall seeing this during testing, so there may likely be other factors at play here that are causing this type of performance degradation. Could you DM me with an example project of what you’re encountering, please? Thanks.

We are currently in the process of incrementally implementing broader and more intensive performance improvements to Perspective. Some of these improvements have already been introduced in the nightlies. This is our larger priority item at the moment, so you may find that we are slow to respond to other issues and improvements. We appreciate your patience as we work towards improving the overall performance of Perspective.

---

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [April 27, 2020, 1:12pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/74 "2020-04-27T13:12:29Z")

</div>

Need help on how to configure different fontweight for column?  
I want to use bold font for country column values in the below eample.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/ecdc79f4b5c3aa63186e0abb331972b75fd8ba8c.png)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [April 27, 2020, 2:36pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/75 "2020-04-27T14:36:19Z")

</div>

One way I can think of using embedded view for that column and in your custom view you can put label with bold.  
As I remember you only have one style option for rows.

---

<div class="post-metadata">

**Author:** ![shawn.waltz](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@shawn.waltz](https://forum.inductiveautomation.com/u/shawn.waltz)\
**Post date:** [April 27, 2020, 5:42pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/76 "2020-04-27T17:42:56Z")

</div>

I got the conditioned based formatting to work for an entire row based on a cell value in the row. How do I do it for Columns, or just a cell in the row?

works for entire row ----  
row={“style”:{“backgroundColor”:red},“value”:{“Line”:line,“PMs”:pms,“Compliant”:comply,“Score”:score}}

---

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [April 28, 2020, 4:05am UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/77 "2020-04-28T04:05:48Z")

</div>

I am trying to override column configuration using IA help. But not able to do so. Is there detailed information or videos available for perspective table.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/dfe99058aa9cc4d155bb71522ea13508dec58cc6.png)

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [April 28, 2020, 2:30pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/78 "2020-04-28T14:30:50Z")

</div>

Override?? What do you mean? What is it you’re trying to do exactly?

---

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [April 28, 2020, 2:44pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/79 "2020-04-28T14:44:42Z")

</div>

> [@ynejati](#):
>
> What is it you’re trying to do exactly?

I want to change the configuration of the columns as per written in screenshot. I want to change the font weight of one column of table.

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [April 28, 2020, 3:12pm UTC](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/80 "2020-04-28T15:12:38Z")

</div>

Unfortunately you can’t do that at the moment via the column configuration object. The only way to go about it now would be to transform your data and make the particular cells of that column a custom configuration object that includes style like below. Use this [script](http://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/48) as an example to transform your dataset.

```auto
{
  "city": {
    "value": "Folsom",
    "style": {
      "fontWeight": "bold"
    }
  },
  "country": "United States",
  "population": 77271
}

```

[Previous page](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199.md?page=3)

[Next page](https://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199.md?page=5)
