I'm using this library https://l-lin.github.io/angular-datatables/#/welcome
I'm placing input fields inside of the table data like so:
<td> <input type="text" ng-model="item.tiersk" /> </td>
However, when I do this I am no longer able to filter by order using the built in table head filter feature. I have other table data in other columns that work like so:
<td> {{item.expensetype.expensename}}</td>
Is there away to add a value to the td element to sort on? Maybe something like this:
<td value="{{item.tiersk}}"> <input type="text" ng-model="item.tiersk" /> </td>