However - what I am finding is, when I flick the switch to = True
It adds the filter I want but... also is adding an ID filter - which I don't want....
Hi @maillme, do you have a component called "dd757"? Based on your filterstack, that's an ID I would be investigating as well. Not sure if this affects it but your True event handler's screenshot has Filter ID 1 while the gif contains swtchPrimaryTopics.
Could it be, that this is the ID of the filter button on my table - when you add it via the table component?
One thing I notice is, that when I load this table (the container that it is placed) the ID = "" filter is already applied by default - so I think that is perhaps the source of the problem. Why or how this is applied - I have no idea
On the other point about ID's - yes, I was experimenting with lots here, to see how it affects things. It doesn't seem to make any difference what I place here. It's also not so clear to me what this field is for? I was thinking it is a way to ID which filter in the overall filterstack it is - but perhaps not.....
Ahh, I see. I got curious and tested on my instance. I noticed that if the events you have there (true / false) does not have the same ID, they won't behave as what you'd like them to be.
Keeping one event (false) to having {{self.id}} and the other (true) with a "" id, the filter just kept on adding the filter that I indicated in the true event.
Have you tried aligning the ids for your events and see if that result to what behaviour you are expecting? Probably set it to {{self.id}}?
the ID = 0 filter still appears, by default - but it doesn't affect anything.....
I don't have option to provide an ID in the false, necessarily - because I am using the clearFilterStack method on the table.... so it's only the table that I need to ID.