Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2895

Reset filter for Listboxes not working

$
0
0

Hi,

 

I'm facing issue with resetting List box filters.I'm using the Cascading filter method by using scripts On Startup and On Select of listbox properties.

 

Able to filter the data as required but unable to reset the listboxes.

 

Example: LB1:year, LB2:Qtr, LB3:Month ,LB4:week . when selected LB:year -2015 corresponding quarters in LB2:QTR(1,2,3,4) is displayed, and when selecting Qtr 1 in LB2 ,corresponding months is displayed in LB3(1,2,3) and when selecting month =1 corresponding weeks are displayed and data is also filtered in charts.

 

When clicked on reset button these filters should be removed and default set to "ALL" i.e. quarters-ALL,Month ALL,Week-ALL,year is defaulted to 2015.

 

using the below logics

 

DS_3.setFilter("Year", "2015");

DS_3.setFilter("QUART",{});

DS_3.setFilter("MONTH",{});

DS_3.setFilter("WEEK",{});

RV_LB_QTR.setSelectedValue("All");

RV_LB_MNTH.setSelectedValue("All");

RV_LB_WK.setSelectedValue("All");

BUTTON_INIT_BUTTONS.onClick();

 

 

But the listboxes are not showing the months All values from (1 to 12) it is showing the filtered results as (All,1,2,3) and the same for weeek it is not displaying all the weeks when reset button is selected.

 

Please helpout


Viewing all articles
Browse latest Browse all 2895


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>