4 Replies Latest reply: Jan 23, 2018 5:39 PM by Christoph Albrecht RSS

    Call paint method manually

    Christoph Albrecht

      Hi together,

       

      is it possible to call the paint method of any object (e.g. a table) manually?

       

      For example I have a KPI with a random number as value. And I want to click a button and the KPI should change its value. Is that possible?

       

      Is it in general possible to re-render the whole sheet (without using DoReload method)? In the documentation is mentioned that the rendering is done with GetLayout method: http://help.qlik.com/en-US/sense-developer/November2017/Subsystems/EngineAPI/Content/WorkingWithAppsAndVisualizations/RenderLayout/overview-render-layout.htm

       

      But when I am calling this method, I only get the layout Json object. But it will not render the sheet or other generic objects. 

       

      BR