O'Reilly logo

Easy Web Development with WaveMaker by Edward Callahan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dynamic page content

Creating new widgets or rearranging the layout of widgets at runtime is the AJAX version of dynamic content. The two key functions to unlock such magic are createComponent() and reflow().

Reflow

Reflow tells the layout engine to re-render the specified container. This is required after adding components to the container or adjusting the layout of the components of the container. The reflowParent() helper function can be used to reflow the parent container without having to lookup the parent. Consider the example presented on the Dynamic Content tab of this chapter's sample application, MasteringClientCustomization:

Reflow

Each Move Up ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required