Query - Set/Reset Data with AJAX

I am using a Query object as a filter-builder intended to drive a workflow process. The filter I am using gets the "Data" parameter via ajax. It is updating too late to be used.


This snippet includes the data defined in an object at the beginning of the snippet. If I include that in the "data" config parameter (currently set to an empty array), it works fine. When I try to add it afterward, using
$$('myQuery').config.data = query_data ... it does not work.

My goal is set/change that "data" parameter after the "Query" object is defined. That way, I can trigger ajax to update "Query" parameters, reducing time to load.

If this is possible, would you please update this snippet to show me how?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!