Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
hamzabob1
Partner - Contributor III
Partner - Contributor III

hide listbox when we select calendar object and hide calendar object when we select listbox...

hello all,

I have one problem can u please help me out.

my Question is:-I have 2 calendar in my qvw.one is master calendar and one is calendar object and both has to visible when we did not select anything.And when we select calendar object master calendar should not be visible and wise versa.

Thanks in advance

1 Solution

Accepted Solutions
Not applicable

This is the solution what do you want.............if it is ur requirement plz close the thread by select correct answer...

View solution in original post

13 Replies
sunny_talwar

Use conditional hide/show conditions on them. May be like this:

on calendar object: =GetSelectedCount(MasterCalendar) = 0

on MasterCalendar: =GetSelectedCount(calendarObjectField) = 0

HTH

Best,

Sunny

hamzabob1
Partner - Contributor III
Partner - Contributor III
Author

Thanks for ur rpl Sunny...

But i not get it,where i have to apply this condition...

can u plz explain me in detail...

Thanks again...

Not applicable

Properties of Object--> Layout--> Show--> Conditional

hamzabob1
Partner - Contributor III
Partner - Contributor III
Author

thanks Kumar,

So First i have to Create Variable of MasterCalendar and calendarObjectField....

Not applicable

List box properties -> Layout tab -> Show -> Select 'Conditional'. There use the conditions specified by sunindia‌ . Along with this, I feel you have to clear selections of the field whose list box will be hidden.

Document Properties -> Field Event Triggers -> MasterCalendar -> Add Action(s) for 'OnSelect' -> Add -> Selection -> Clear Field -> OK -> Specify field as calendarObjectField. Do similar steps for OnChange


Repeat it for calendarObjectField. Clear MasterCalendar field instead.


And, provide a button or Text object with appropriate actions so that user can clear selections of only these fields which makes both the objects visible.


Regards,

KKR

Not applicable

No need to create variable..

on calendar object: =GetSelectedCount(MasterCalendar) = 0

on MasterCalendar: =GetSelectedCount(calendarObjectField) = 0


When you select anything from your master Calender (Lets say Year) then Expression

GetSelectedCount(MasterCalendarYear) will return >0 and you should say to your calendar object to hide when GetSelectedCount(MasterCalendarYear)>0


Same thing for other object.

hamzabob1
Partner - Contributor III
Partner - Contributor III
Author

Thanks everyone..

But its not working..

If anyone has the QVW of that problem so please upload it...

Thanks in advance

hamzabob1
Partner - Contributor III
Partner - Contributor III
Author

Thanks Kumar..

But this is not what i am looking for...