1.0.0-beta.1 • Published 8 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
8 years ago
1.0.0-alpha4
8 years ago
1.0.0-alpha3
8 years ago
1.0.0-alpha1
8 years ago
0.0.8
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago