-
Notifications
You must be signed in to change notification settings - Fork 10
Simple Usage
feanor07 edited this page Aug 8, 2016
·
1 revision
A table consists of columns and rows. In simple mode, define each column with a column header and a column key.
{{#data-table data=data selectionMode='multiple'
selectionChanged=(action 'selectionChanged') classNames=tableClassNames as |t|}}
{{t.selectionColumn}}
{{t.column propertyName='name' name='Name'}}
{{t.column propertyName='surname' name='Surname'}}
{{t.column propertyName='age' name='Age'}}
{{t.column propertyName='nationality' name='Nationality'}}
{{/data-table}}
- name: Defines header of column.
- propertyName: Defines property of row data to display.