Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
sekharQV
Creator
Creator

Display a pop up based on button click and close by clicking on close button

Hi All,

Hope you doing well.

i have a straight table with sales and cost related columns and i am showing and hiding some set columns based on button clicks.

Here i am displaying a pop-up based show/hide of columns.

So, my requirement is i have to allow user to close this pop-up after he reads the message.

I have attached screenshot and my sample qvw file for your reference.

Could anybody give me a logic or suggest how to achieve this.

Thanks & Regards,

Rajasekhar

1 Solution

Accepted Solutions
sekharQV
Creator
Creator
Author

Hi All,

I got the solution and thanks for help.  Attached app has solution(Sheet Name: solution)

Thanks & Regards,

Rajasekhar

View solution in original post

6 Replies
hector_munoz
Specialist
Specialist

Hi,

You can also create actions in 'close' text objects as a similar way of what you have done in your buttons.

Regards,
H

trdandamudi
Master II
Master II

Please see the attached and hope this helps...

sekharQV
Creator
Creator
Author

Hi Thirumala,

If possible could you please provide me logic here.Because i am out of office now.

I can open file only in offc.

Thanks & Regards,

Rajasekhar

trdandamudi
Master II
Master II

Here you go...

1) create a variable 'vClosePopup' and set the value to 1

2) Go to 'Settings-->Document properties ---> Triggers'

3) Select 'OnOpen' under 'Document Event Triggers' and click 'Add Actions(s)

4) Select 'Set Variable' under Actions.

5) In the variable type 'vClosePopup' and under value tyoe 1

6) Click Ok twice.

Note: The above steps will make sure, when ever you open the dashboard you will see the popup message.

Steps to follow for the first popup message:

A) Now in the chart select your image (Which is your popup image. Object ID = TX04   ) and goto Layout and in        conditional type 'vClosePopup=1'

B) Select the text box (Where it says "Click on '-' to Collapse Sales", Object ID=TX05) and goto Layout and in conditional      type 'vClosePopup=1'

C) Select the text box (Where it says "Close", Object ID=TX07) and goto 'Actions' tab. Under Actions select

    'Set Variable'  and in cVariable type 'vClosePopup' and in Value type '0'

Steps to follow for the second popup message:

Repeat the steps from A to C

Hope this helps.....

sekharQV
Creator
Creator
Author

Hi Thirumala,

Thanks for your prompt guidance.

Is there any workaround to display and close pop-up each time whenever i expand/collapse the columns up by clicking on button.

Because the client is looking for this of functionality.

Thanks & Regards,

Rajasekhar

sekharQV
Creator
Creator
Author

Hi All,

I got the solution and thanks for help.  Attached app has solution(Sheet Name: solution)

Thanks & Regards,

Rajasekhar