使用angular-ui-sortable对行进行排序(拖放)

时间:2014-07-01 18:08:13

标签: angularjs jquery-ui-sortable

我使用angular-ui-sortable是可以使用angular-ui.sortable拖放(排序)表的列。我只能对行进行排序:(

以下是行的示例:

<tbody ui-sortable="sortableOptions" ng-model="categoryValue.selectedFields">
   <tr ng-repeat="device in tables[categoryKey].data">
       <td ng-repeat="(selectedFieldKey, selectedField) in categoryValue.selectedFields">{{device.data[selectedField]}}</td>
   </tr>
</tbody>

0 个答案:

没有答案
相关问题