Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there
I would like to know how to show or hide specific buttons based on which chart in a container I have currently selected. I have a set of buttons but each button should apply to only one chart in the container, so I want to hide the irrelevant buttons for the currently selected chart aond only show the button that is relevant to that chart. How would I do this using the Conditional Show/Hide option in each button?
Thanks
Hi Jason,
You can try creating groups if you need only specific container to interact and that should be independent.
For buttons, in the layout tab you can show the button conditionally wherein you can have expressions defined.
Thanks,
Sai
Thanks, but I am aware of how to show the buttons conditionall, that's not the hard part. The hard part is identifying which particular object in the container the user has clicked on. How do I access that selection prograammatically so that I can use it in the conditional logic that determines whether the button is shown or hidden?
Jason,
You can try: =len(getcurrentselections(FieldName))
Try to put this condition in the properties-> Layout->Show->Conditional->Paste the condition.
This will automatically show/hide based on the field selection you are looking for.
Thanks,
Sai
This is not directly possible as of now. An idea http://community.qlik.com/ideas/2019 has been proposed, you might want to vote there.
Thanks tresesco, not what I'd like to hear but nothing I can do about it at the moment.