Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7856

Filter Panel - submit() & setVisible()

$
0
0

Version: Design Studio 1.4

 

Scenario: Via an OnClick event, I am trying to submit a Filter Panel component then hide the Filter Panel by setting the visibility to false.

 

When setup with the 2 lines of code as per the snippet below, nothing is submitted (i.e. any filtered dimensions seem to be reset and not reflected).

FILTER_PANEL.submit();
FILTER_PANEL.setVisible(false);


The submit only seems to work when I take out the setVisible line of code .

FILTER_PANEL.submit();

 

Question: I'm assuming the original code (with setVisible(false)) should work and this is a bug? Or am I doing something wrong?


Viewing all articles
Browse latest Browse all 7856

Trending Articles