Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
cpalbrecht
Creator
Creator

Change properties of existing visualization objects on button click

I want to create an extension e.g. a butoon. That is no problem. I can add some JavaScript code that affects the extension itself when I am clicking on the button.

But is it also possible to affect any other existing visualization object (e.g. table or chart) with clicking on the button?

For example: I want to change the size of a table by clicking on the button. Or the background color of a chart.

I now how to get the model of any visualization object with this method: http://help.qlik.com/en-US/sense-developer/September2017/Subsystems/APIs/Content/CapabilityAPIs/AppA...

And I can change the model. But how can I display the changes I made?

qlik.app.getObject(elem, id, options)

For that I think I need the html element id to call the paint method to display all changes I made. But I dont have the html element id.

Thanks for pointing me in the right direction.

Best regards!

1 Reply
cristiand
Contributor III
Contributor III

Hi,

I'm trying to do something similar.
Have you found the way to modify an object property from an extension (eg. a button)?
Can you point me out how you did it or what documentation to read?

Thanks.

Cristian

Cristian Dorbesi