나는 블레이즈 템플릿에서 유성을 통해 시맨틱 UI와 정렬 테이블을 만들려고 작동하지 있지만, 정렬 기능은의미 UI Tablesort는 유성
<template name="Home_Page">
<div class="ui container">
{{#if Template.subscriptionsReady}}
<table style="margin-top: 20px" class="ui sortable celled table">
<thead>
<tr>
<th class="descending">First</th>
<th>Last</th>
<th>Address</th>
<th>Telephone</th>
<th>Email</th>
<th>Edit</th>
</tr>
</thead>
<tbody>
{{#each contact in contactsList}}
<tr>
<td>{{contact.first}}</td>
<td>{{contact.last}}</td>
<td>{{contact.address}}</td>
<td>{{contact.telephone}}</td>
<td>{{contact.email}}</td>
<td><a href="{{pathFor 'Edit_Contact_Page' _id=contact._id}}">Edit</a></td>
</tr>
{{/each}}
</tbody>
</table>
{{else}}
{{> Loading}}
{{/if}}
<script src="https://semantic-ui.com/javascript/library/tablesort.min.js">
</script>
<script>
$('.sortable.table').tablesort();
</script>
</div>
</template>
표는 적절하게 표시
하고 단세포 작동하지 않습니다 테이블 구성 요소 작동하지만 정렬 부분은 내가 t를위한
<div class="ui container">
<table style="margin-top: 20px" class="ui sortable celled table">
<thead>
<tr>
<th class="descending">First</th>
<th>Last</th>
<th>Address</th>
<th>Telephone</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bob</td>
<td>Burt</td>
<td>123</td>
<td>456</td>
<td>[email protected]</td>
</tr>
<tr>
<td>Cob</td>
<td>Aurt</td>
<td>123</td>
<td>456</td>
<td>[email protected]</td>
</tr>
<tr>
<td>Dob</td>
<td>Durt</td>
<td>123</td>
<td>456</td>
<td>[email protected]</td>
</tr>
</tbody>
</table>
<script>
$('.sortable.table').tablesort();
</script>
</div>
코드로 일 유성의 사용없이이를 구현하기 위해 노력했습니다
하지 않습니다 그는 Meteor가 아닌 버전을이 JSFiddle에서 찾을 수 있습니다 : https://jsfiddle.net/seanytak/0wyrxqt0/
Meteor에서 동일한 동작을 구현하기위한 추가 단계가 있습니까?