Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
bekahbeets
Creator
Creator

How do the extensions detect a change in the code behind?

I am using d3 to edit an extension. I want to build a new extension, but I do not know what signals the code behind that a user has made a change to a setting in a side panel. For instance, if a maxValue is in the side panel, how does the code behind detect that the user changed the number?

Any tutorials or videos or answers that would show me that code would be great!

#extensionsnoob

1 Solution

Accepted Solutions
ErikWetterberg

Just write your rendering code in the paint method, using the values in the layout, and it will be called when needed.

Erik

View solution in original post

3 Replies
ErikWetterberg

Hi,

When the user changes a property it is sent to the engine. The layout will then be recalculated, baser in the ned property. After that then paint method will be called.

Hope this helps

Erik Wetterberg

bekahbeets
Creator
Creator
Author

I need CODE.

ErikWetterberg

Just write your rendering code in the paint method, using the values in the layout, and it will be called when needed.

Erik