# How to bind data to Perspective Table through a script to avoid polling?

**URL:** <https://forum.inductiveautomation.com/t/how-to-bind-data-to-perspective-table-through-a-script-to-avoid-polling/50147>\
**Category:** Ignition\
**Tags:** ignition81, scripting, perspective\
**Created:** [August 20, 2021, 5:08pm UTC](https://forum.inductiveautomation.com/t/how-to-bind-data-to-perspective-table-through-a-script-to-avoid-polling/50147 "2021-08-20T17:08:43Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![321liftoff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/321liftoff/32/27544_2.png) [@321liftoff](https://forum.inductiveautomation.com/u/321liftoff)\
**Post date:** [September 5, 2021, 1:10am UTC](https://forum.inductiveautomation.com/t/how-to-bind-data-to-perspective-table-through-a-script-to-avoid-polling/50147/4 "2021-09-05T01:10:26Z")

</div>

Just to circle back, the hope was to use a script to generate JSON like the following to bind a cell of a table to a tag/property/etc:

```auto
        "propConfig": {
          "props.data[0].country": {
            "binding": {
              "config": {
                "fallbackDelay": 2.5,
                "mode": "direct",
                "tagPath": "[System]Gateway/UptimeSeconds"
              },
              "type": "tag"
            }
          }
        }

```

Another post explained why this can't be done:

> [@Perspective: creating bindings in script?](https://forum.inductiveautomation.com/t/perspective-creating-bindings-in-script/44666/2):
>
> No. A view’s fundamental structure (components, bindings, etc) is not mutable at runtime.

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-bind-data-to-perspective-table-through-a-script-to-avoid-polling/50147)._
