You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I apologize if this is not the right place to ask questions.
I'm implementing a custom filtering capabilities (advanced search) to my data grids (for the curious ones, I'm using DataTables). I'm loving jQuery-QueryBuilder so far and gradually learning to control it to my liking using its extensive API (although, I find the API docs a little too confusing or inadequate at some places).
That's about the background. I was just wondering whether initializing and destroying the QueryBuilder several times can likely pollute the DOM by attaching event listeners to any of the elements higher on the DOM tree or the document itself. I'm worried because, I use a bootstrap modal to initialize the queryBuilder on show and destroy on hide. So, this can happen a couple of times on the same page (because it is used for filtering like I said above).
A quick glance at the DOM tree suggested (I may be wrong) that the plugin operates within it's own limited DOM scope and is unlikely to cause problems, but I just wanted to be sure.
Also, is there a documented list of events/properties/attributes that are manipulated/attached during the lifespan (from init till destroy) of QueryBuilder?
Cheers!
The text was updated successfully, but these errors were encountered:
Hi -
I apologize if this is not the right place to ask questions.
I'm implementing a custom filtering capabilities (advanced search) to my data grids (for the curious ones, I'm using
DataTables
). I'm lovingjQuery-QueryBuilder
so far and gradually learning to control it to my liking using its extensive API (although, I find the API docs a little too confusing or inadequate at some places).That's about the background. I was just wondering whether
initializing
anddestroying
theQueryBuilder
several times can likely pollute the DOM by attaching event listeners to any of the elements higher on theDOM tree
or thedocument
itself. I'm worried because, I use abootstrap modal
toinitialize
thequeryBuilder
on show anddestroy
on hide. So, this can happen a couple of times on the same page (because it is used for filtering like I said above).A quick glance at the DOM tree suggested (I may be wrong) that the plugin operates within it's own limited DOM scope and is unlikely to cause problems, but I just wanted to be sure.
Also, is there a documented list of
events
/properties
/attributes
that are manipulated/attached during the lifespan (frominit
tilldestroy
) ofQueryBuilder
?Cheers!
The text was updated successfully, but these errors were encountered: