Skip to main content
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
Showing results for 
Search instead for 
Did you mean: 

Autofit screen using Ajax


I am using Ajax plugin to display my qvw through browser. 

Is there any way that my page auto-fits with the screen resolution? Currently it looks different when I open the same through different systems.




Labels (1)
3 Replies
Partner - Specialist III
Partner - Specialist III

Unfortunately not. The QlikView document needs to be designed based on the most common screen size that the business uses.
In the QlikView desktop client there is an option inser the ‘view’ menu that fits the page to the screen size. There is an macro around that you can add to an action on a button BUT I don’t believe it works in AJAX. I’ve used it in the past but I think i was using the IE plugin (it was a while ago so I can’t remember).
Try doing a search for QlikView macro to change screen size and see what comes up. Your server settings need to be change ages to allow macros from unknown sources but like I said, I’m not 100% sure it would work in AJAX.
Partner - Specialist III
Partner - Specialist III

Try this ..
Sorry, it doesn’t change resolution, it zooms to screen size.
Partner - Specialist III
Partner - Specialist III

This is the zoom macro that i used previously. 

it wasnt the best look but did its purpose.

Put the below in the macro module then create a button with a run macro action to run Autozoom to test

Sub Autozoom


End Sub


I hope that helps