Data view datasource from outside of dmx

Anybody know if it is possible to set a data view component’s data source to a javascript array generated outside of dmx?

Without going into all the reasons leading up to this, it would sure be handy to be able to set the source of a data view from javascript. I’m using a custom formatter currently which works, but the formatter constantly runs in the background. The formatter either calls a filtering routine when needed, or just returns the already filtered array.

Okay, the answer lies in this:

where Patrick shows how to set a dmx var from js:

document.getElementById("var_test_102055").dmxComponent.set("value", "newValue");

In the case of a data-view component it becomes:

1 Like