Table component for ember built using ember-collection.
arenoir.github.io/ember-tabella
- Incremental rendering via ember-collection
- Custom templates per cell
- Optional Fixed columns for horizontal scrolling.
- Resizable columns
- Scroll Tracking
ember install ember-tabella
{{ember-tabella
columns=columns
content=data
numFixedColumns="2"
sortedColumn=sortedColumn
isSortReversed=_desc
scrollLeft=scrollLeft
scrollTop=scrollTop
onColumnSort=(action "sort")
onCellClick=(action "columnClicked")
}}
A array of objects extending from ember-tabella/models/columns.js
Default: []
A array of objects extending from Ember Object. Usually an ember-data model.
Default: []
The number of columns from the left that should remain fixed.
Default: null
The column id that should be shown as sorted.
Note: Only used to show content is sorted.
Default: null
Is the content ordered in descending order.
Default: null
The scollLeft postion of the table body.
Default: 0
The scollTop postion of the table.
Default: 0
- ember >= 2.18
- ember-collection