Forum Discussion

spandl's avatar
spandl
Helper I
3 years ago

Clear Selection in context menu is not refreshing the visual

Hi there,

 

I have a custom visual that allows a user to filter other visuals using 

```
this.selectionManager.select(selectionArray)
```
Once a selection is active in the visual, the context menu shows the option "Clear selection." 
Once the option is clicked, other visuals are reset correctly, but the custom visual itself isn't updated. 
 
In this case, the `update` function of the visual is never called. 
 
How can I call the update function again, once the selection is cleared?
 
Thanks.

 

 

No RepliesBe the first to reply