Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to force a redraw of a Workbench QvObject from javascript after resize

I need to know how to force a redraw of a Workbench QvObject from javascript after resize. I have figured out how to resize the QvObject using jQuery/Javascript on a resize event, but I can't figure our how to force the QvObject (chart/table/etc.) to redraw. If I change a selection which causes the QvObjects to redraw the resized QvObjects draw correctly at the new size. . I suspect there isa javascript function in the Qva name space (QvAjax.js), but I can’t figureout what call to make.

This jQuery code:

$("#Document\\\\\CT05").width(width);

$("#Document\\\\\CT05").height(height);

resizes the QvObject with ObjectID="CT05" fine, just need to know how to force a redraw of this same QvObject so the image is sized correctly.

0 Replies