Renders the object into box.
box DOM element, container for the widget
Returns number of milliseconds it took to render.


If the box argument is not specified, the widget will be rendered into the DOM element specified by the .box property. The .render() method will also create related objects by calling their .render() methods. For example, each w2grid has a toolbar, which is a w2toolbar object. When grid is rendered, the toolbar object will be rendered as well.
If you pass a selector during object creation it will be automatically rendered into that element: You could have created layout in the following way: The widget will be created in memory and you can render it by: But preferred way to do:

User Comments

comments powered by Disqus