FilterBuilderLayerDefinitionAppliedEvent event is not fired when filter is cleared
I build a custom HTML Viewer module taht needs to respond to changes in a filter of a certain layer. To do that, the code listens to the FilterBuilderLayerDefinitionAppliedEvent event.
However, this event is only called when a filter is applied, but not when the filter is cleared.
Is there a way to work around this issue?
The viewer version is 2.9.0
0
-
Hi Berend,
I'm not familiar with how the viewer is expected to behave with this event, but I suspect that the FilterBuilderLayerDefinitionAppliedEvent only fires when a new Filter is defined and not when an empty filter appears.
Take a look at the FilterControlResultChangedEvent and see if this will help you detect when there's no filter. (http://docs.geocortex.com/essentials/gvh/2.12/commands-help/#/events/Filter-Control/FilterControlResultChangedEvent)
Regards,
-Malcolm0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar