Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
sridhar_sigired
Creator
Creator

Clear selection for calender object

Hi,

1. I created a calendar object, user can able to select dates FROM and TO. I need to clear those dates with CLEAR ALL button. What exactly i need to apply the action to clear the selections in calendar object?

2. I have list box to select the TIME ZONE by user, which i have placed on home page. This time zone selection  reflect data on all objects on other Sheets. However whenever i am clicking CLEAR ALL button on other seats, this TIMEZONE selection on home page getting deselect. How can i avoid this problem. I put a CLEAR ALL object just beside this TIMEZONE list box on home page, i need to deselect TIMEZONEs only when i click on this button just beside of this. Can i do it anyway? I tried to use alternate states, but confused.

Thanks for your time.

Sridhar.

1 Solution

Accepted Solutions
nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Hi Sridhar,

For your time zone field,Apply always select one .this might solve your issue.

-Nagarjun

View solution in original post

9 Replies
sunny_talwar

1) I would think that calendar should be deselecting when you click clear button. Are you using field or variables to select the two dates?

2) I think you would only have one TIMEZONE selected at one given time. If this is true, why don't you select the 'Always One Selected Value' option so that it doesn't clear TIMEZONE and always have one value selected.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Create your own clear button (you can make it a bit larger than the default ajax button, very comfortable for your end-users), add the necessary Clear actions (Clear Field, Clear All or whatever) and add two actions to reset the variables that control your calendar selection process.

Peter

sridhar_sigired
Creator
Creator
Author

HI Sunny,

Thanks for your quick reply on weekend.

I am using variables for calendar. I want to clear them when i click clear button.

sridhar_sigired
Creator
Creator
Author

Hey Peter, thanks for a nice reply. It seems appropriate for my requirement.

sridhar_sigired
Creator
Creator
Author

Hi Sunny,

Yes you are correct. User has to select one time zone before he start looking at the dashborad and it should not be cleared even he click on clear all button.

Here i am using multibox, not a listbox. Can you please tell me, can we exlude this object from clearall selections?

sridhar_sigired
Creator
Creator
Author

Hi Peter,

Can we exclude any object (Multibox) selection from clearall button to not clear? Whereas based on this object selection all data is filtering.

Thanks.

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Hi Sridhar,

For your time zone field,Apply always select one .this might solve your issue.

-Nagarjun

PrashantSangle

Hi,

Yes you can.

add one more trigger

Clear Other Field and add the fieldName which you dont want to clear.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Mahamed_Qlik
Specialist
Specialist

Hi Sridhar,

If you are using variable for creating calender object. Then

Go to to action --> select set variable--> write the variable name  in variable text box without '=' sign.

Regards,

Mahamed Khan