Halo team, I try to use `SingleDashboardStoreAcces...
# gooddata-ui
u
Halo team, I try to use
SingleDashboardStoreAccessor
to dispatch the
changeFilterContextSelection
. I got a problem when I tried to apply a filter for the hidden attribute filter. It seems doesn't work, I see the dashboard shows the loading state but doesn't update data. P/s: It works when the filter shows on UI.
j
Hi Khan, This is actually expected behaviour. Because basically, “hidden attribute filter” = locked attribute filter. Meaning that it’s “ability” to be hidden also prevents it to be updated.
👍 1
u
Thank you for your reply. Is there any way to do it? I want to use an external filter and apply it to the dashboard component.
j
Could you please send me the SDK version which you’re currently using and also your current code sniped so we see how are you exactly approaching this? Once we have it, I will pass this to our Technical team.
u
I'm using "@gooddata/sdk-ui": "10.11.0", But it doesn't matter, I can update it to the latest version.
j
would you mind to send the code snippet as well? thanks a lot
u
I solve this problem by using
DashboardAttributeFilterComponentProvider
to hide the filter and I can trigger filter event on FE. Thank you for your support! 👍