Plugins

In w2ui library there are several jQuery plugins for common purposes. These plugins provide common functions to rendering, destroying widgets, highlighting text, creating context menus, etc.

$().w2render(name)

jQuery plugin to render previously created element. For example, if you have created a grid and now want to render it to a different container, you can do this: or Both ways do same action, but second one is much more human readable.

$().w2destroy(name)

jQuery plugin to destroy previously created element. It will destroy w2ui control and remove it from w2ui object. If the control does not exist no action will be take.

$().w2marker(str)

jQuery plugin that highlights text. It is internally used in the grid.

Other Plugins

  • $().w2menu(menu, [options])
  • $().w2tag(html, [options])
  • $().w2overlay(html, [options])
See overlays for details.

User Comments

comments powered by Disqus