1.0.0-beta.1 • Published 9 years ago
ember-ds-table v1.0.0-beta.1
Ember-ds-table
Installation
ember install ember-ds-table
Usage
Set up the table properties,
// ../controllers/application.js
columns: [
{
title: '#',
path: 'id'
},
{
title: 'Avatar',
path: 'avatar',
component: 'user-avatar'
},
{
title: 'First Name',
path: 'firstName'
},
{
title: 'Last Name',
path: 'lastName'
},
{
title: 'Address',
path: 'address'
},
{
title: 'State',
path: 'state'
},
{
title: 'Country',
path: 'country'
}
],
<!-- ../templates/application.hbs -->
{{ds-table
modelName='user'
columns=columns
}}
<!-- ../templates/components/user-avatar.hbs -->
<img src={{value}} style="width:30px;height:30px;border-radius:50%;">
1.0.0-beta.1
9 years ago
1.0.0-alpha4
9 years ago
1.0.0-alpha3
9 years ago
1.0.0-alpha1
9 years ago
0.0.8
9 years ago
0.0.7
9 years ago
0.0.6
9 years ago
0.0.5
9 years ago
0.0.4
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago