Skip to main content
MAINTENANCE ALERT: Dec. 12th starting 9 AM CET. Community will be read-only. GET DETAILS
Showing results for 
Search instead for 
Did you mean: 
Contributor II
Contributor II

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


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


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