Perspective table how to set the header titles

So I have a table, I’ve put in header configs and headers are enabled. I can get them to show up if I add a row in data, an array of objects, where the key is the header name and the value is the value, it then fills in the header title and the value as the first row value. I’ve tried in script several ways and without any luck. Anybody have any thoughts?Thx, jake

Find the column attribute in the tree and add a column. You’ll have access to the header title per column once each column is created under that attribute.

Yeah, got it working. Figured out I needed:

{{“column name”: {{“style”: {“classes”: white}, “value”: “some value”}}}}

I was using square brackets on the row for the append.Thx, jake

1 Like