0

I have data like

{ column : [a,b,c], data : [["a",1,2],["b",4,5],["c",3,2]]}

table structure

<input type="text" ng-module="search">

<thead>
<tr>
  <th ng-repeat="n in column" ng-click="click($index)">n</th>  
</tr>
</thead>
<tr ng-repeat="i in data | filter:search">
  <td ng-repeat="j in i">i</td>
</tr>

how to make a search logic by columns? I could search by any input but not by specific column

0 Answers0