Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone
I'm developing a QlikSense extension, and I cannot figure out how to do a very simple operation: invoking a "repaint" manually.
Let me explain what I mean: at a certain point, my extensions changes the properties, like this:
this.backendApi.getProperties().then(function(props){
//Change some props
props.qHypercubeDef.qMeasures[0].qDef.myProp = "something";
//Save properties
this.backendApi.setProperties(props);
});
since I've changed the extension's properties I would expect the "paint" method to be automatically invoked by the engine, just like it does when the extension is resized or the hypercube is patched.
Instead, the paint method is not invoked. How do I trigger a repaint from code?
Well, after more testing it turns out it was my fault: the engine DOES recall the paint method when you setProperties, a bug in my code was preventing the second call. Sorry for wasting your time.
Well, after more testing it turns out it was my fault: the engine DOES recall the paint method when you setProperties, a bug in my code was preventing the second call. Sorry for wasting your time.