2014-04-05 4 views
0

에 페이지 매김을 추가하는 I가 다음 템플릿 :유성 템플릿 - 어떻게 내 유성 응용 프로그램에서 테이블

<template name="users"> 

    <div class="container-fluid"> 
     <div class="row-fluid"> 
      <div class="page-header"> 
       <h1><small>Users List</small></h1> 
      </div> 

      <table class="table table-bordered table-striped table-hover" id='userTable'> 
       <thead> 
        <tr> 
         <th>Name</th> 
        </tr> 
       </thead> 
       <tbody> 
        {{#each userList}} 
        {{>userRow}} 
        {{/each}} 
       </tbody> 
      </table> 
     </div> 
    </div> 
</template> 
<template name="userRow"> 
    <tr class="userRow"> 
     <td>{{name}}</td> 
    </tr> 
</template> 

나는이 테이블에 (어떤 종류의) 페이지 매김을 추가하려면 어떻게해야합니까?

+0

아직 [Discover Meteor] (http://book.discovermeteor.com/)를 보셨습니까? 페이지 매김에 관한 꽤 좋은 장을 가지고 있습니다. –

+0

약 5 분 전에 구입했습니다 :) –

답변

3

귀하의 질문에 답변하는 great video입니다. George의 많은 소품 (geomck1967)은 이런 훌륭한 일련의 유성 비디오를 제작했습니다!

+0

Great help indeed! –