Skip navigation
Currently Being Moderated

Update callout position when it opens

Apr 12, 2012 9:13 AM

Tags: #position #callout

Dear all,

 

I have initialized the Callout instance. In the open event handler, I want to add elements according to an ArrayCollection. I assume it's easy to render before it shows up, or I need to detect changing of the ArrayCollection. Unfortunately, the Callout doesn't place correctly event if I have called invalidateDisplayList(), invalidateSize() and updatePopUpPosition. It shows up correctly if I close it and open again. 

 

Simply speaking, if content is changed in open event handler, the callout position will go wrong.

 

Hope there will be a simple way to fix it.

 

Thanks,

Felix

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points