के साथ सॉर्टर प्लगइन मैं कोणीय के साथ काम कर रहे JQuery टेबललेटर प्लगइन का उपयोग करने की कोशिश कर रहा हूं। वर्तमान में यदि आप टेबल परिवर्तन की पूरी चौड़ाई और संरचना को सॉर्ट करने के लिए किसी भी कॉलम पर क्लिक करते हैं और ng-repeat अभिव्यक्तियों के साथ एक नई पंक्ति बनाई जाती है।jQuery तालिका का उपयोग करना Angularjs
$(document).ready(function() {
$("#check").tablesorter();
});
<table id="check" class="table table-bordered table-striped table-condensed table-hover tablesorter" cellspacing="1">
<thead>
<tr>
<th class="header">Product Code#</th>
<th class="header">Item Description#</th>
<th class="header">Unit Cost#</th>
</tr>
</thead>
<tbody>
<tr ng:repeat="i in itemresponse" >
<td><a href="#/ItemSearch/{{i._ItemID}}" >{{i._ItemID}}</a></td>
<td>{{i.PrimaryInformation._ShortDescription}}</td>
<td>{{i.PrimaryInformation._UnitCost}}</td>
</tr>
</tbody>
</table>
सबसे पहले जो मैं करता हूं वह टैबलेटर को निर्देश के लिए कॉल करता है। आप एनजी के बाद बुलाए जाने के निर्देश के प्राथमिकता को बदल सकते हैं: दोहराया जाता है। Http://youtu.be/iB7hfvqyZpg –
http://docs.angularjs.org/api/ng.filter:orderBy पर उदाहरण देखें, AngularJS के साथ एक क्रमबद्ध तालिका बनाना टेबललेटर के बिना संभव है। –
क्या यह आपको किसी भी मौके से मदद करता है: http://plnkr.co/edit/VOf0DjZiKA2VxrWUDUgj?p=preview – eugenekgn