1 Reply Latest reply: Jan 16, 2018 11:05 AM by Elia Dal Santo RSS

    Invalidating extension so that "paint" is invoked again

    Elia Dal Santo

      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:


          //Change some props
          props.qHypercubeDef.qMeasures[0].qDef.myProp = "something";
          //Save properties


      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?