Forum Discussion

mikihiir's avatar
mikihiir
Helper III
7 years ago
Solved

Call public update(options: VisualUpdateOptions)

Hei   What is the best way to call  -> public update(options: VisualUpdateOptions)  without resizing   Thanks in advance :)  
  • v-viig's avatar
    v-viig
    7 years ago

    The update method is called every time any filter or selection is applied or there's a change in Formatting Panel for this visual.

     

    You can call it whenever you want from your code. You just need to keep the update options or split update method into a few methods. We usually split update into the update and render.

     

    The update indicates a change in data. The render indicates a rendering flow.

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]