Widget_list - gd-99/symbiogd GitHub Wiki

A list.

Child of $.webos.container.

Options

Options:

  • Array columns: the list's columns
  • Array buttons: the list's buttons
  • Boolean multipleSelection=true: true to enable multiple selection

Methods

  • jQuery addColumn([value]) : Add a new column.
  • String [value] The new column's content.
  • jQuery column(id, [content]) : Get/set a column.
  • Number id The column id.
  • String [content] The column's content.
  • sort(column, invert) : Sort this list by column.
  • Number column The column id.
  • Boolean invert True to invert sorting.
  • addButton(button) : Add a new button to this list.
  • jQuery button The button.
  • jQuery items() : Get this list's items.
  • jQuery selection(selection) : Get/set this current list's selection.
  • String|Number selection The selection range. Can be 4 or 0-9.

Static methods

This class hasn't any static method.