Skip to main content

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
CUSTOMERS ONLY: Now accepting customer applications for the 2023 Luminary Program: SUBMIT NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
feliperesende
Contributor II
Contributor II

Divergence in the $element.height() value in the paint method

Hi,

I'm creating an extension and I need the height value so I can create the object according to the size of the component.

However, the $ element.height () value is sometimes returned by considering the header, and sometimes not considering.

Can anyone tell me what might be happening?

PS: Code that I get value.

var vHeight = $element.height();

1 Reply
ErikWetterberg

Hi,

Sounds very strange. $element (that is the jQuery wrapper you get as a parameter to the paint method) should always be without the object title, subtitle etc, which the framework renders for you. In what situations do you get something else??

Erik Wetterberg