
Hi All,
I am listening to FILTER_CHANGE event on the viz but the function onFilterChange is getting called multiple number of times,
onFirstInteractive: function(){
tableauViz.addEventListener(tableau.TableauEventName.FILTER_CHANGE, onFilterChange);
tableauViz.addEventListener(tableau.TableauEventName.MARKS_SELECTION, onMarksSelection);
}
}
I am trying to save the filters users has applied for processing in the database, but the function is getting called multiple number of times.
Any help in this would be really great.
5 réponses
Hi Akshar,
Can you test this in a smaller environment, like a hello world page? Also, are you unregistering your event listeners as well so they don't duplicate?
-Keshia