2016-05-30 6 views
0

私はaldeed-tabularを使用しているすべてのユーザーのリストを取得しようとしていますが、うまくいかず、助けてください!メテオールaldeed-tabular

のlib/Users.js

TabularTables = {}; 
Meteor.isClient && Template.registerHelper('TabularTables', TabularTables); 
TabularTables.UserList = new Tabular.Table({ 
    name: "Users List", 
    collection: Meteor.users, 
    columns: [ 
    {data: "email()", title: "firstName", class: "col-md-1"}, 
    {data: "lastName", title: "lastName", class: "col-md-3"}, 

]}); 

     **Client/UsersList.js** 

    <template name="tabular"> 

{{> tabular table=TabularTables.UserList class="table table-striped table-bordered table-condensed"}} 

</template> 

答えて

0

彼らは特定の役割を持つユーザーを表示話し合うところ、このMeteor forumをチェックしてください。すべてのユーザーを取得したいので、あなたのケースは簡単です。

関連する問題