Module: tableView

tableView

new require("tableView")() → {function}

Table view
Source:
Requires:
  • module:Backbone
  • module:framework
Returns:
Backbone.View constructor
Type
function
Source:

Methods

afterRender()

After render
Source:

create() → {$|undefined}

Creates a new one table
Source:
Returns:
$-instance or undefined
Type
$ | undefined

initSortable()

Adds sorting for the table
Source:

render() → {object}

Renders template and appends to DOM. .render() also triggers this.update()
Source:
Returns:
view current view instance
Type
object

update() → {boolean}

Updates table by new data
Source:
Returns:
true
Type
boolean