Personal copy of the table class with some additional computed properties

Show:
Table.createRows
(
  • rows
  • table
)
Array
static

Create a collection of Row objects with the given collection

Parameters:

  • rows Array

    Passed in rows

  • table Table

    Table instance

Returns:

Array:

Array of table rows

setRows
(
  • rows
)
Array

Replace all the row's content with content of the argument. If argument is an empty array rows will be cleared.

Parameters:

Returns:

Array:

rows

allColumns

Ember.Array

expandedColumns

Array private

List of all columns that can show in expanded view, it will be filtered again later

hasHiddenColumns

Boolean private

Returns true if the table currently contains hidden columns

tableColumns

Ember.Array

Table columns without export only columns

visibleColumnGroups

Ember.Array

visibleSubColumns

Ember.Array