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