Home > @activeviam/activeui-sdk > ReactContainerApi > bindQuery
ReactContainerApi.bindQuery property
Add the query to the list of this container's data sources. Returns a function to unbind the query. This should be called synchronously when the container mounts, otherwise it might not be picked up by some widgets on the dashboard (e.g. Mdx Editor).
Signature:
bindQuery: (a: Query) => () => void;