Browse Source

adding the table id

Aaron Baker 8 years ago
parent
commit
69d161895d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/angular/src/ux/table.directive.html

+ 3 - 3
src/main/angular/src/ux/table.directive.html

@@ -30,10 +30,10 @@
         </tr>
     </thead>
     <tbody>
-        <tr ng-repeat="item in table.getItems()" ng-click="table.clickItem(item, $event)">
+        <tr ng-repeat="item in table.getItems()" ng-click="table.clickItem(item, $event)"
+            ng-attr-id="{{'index' + table.index }}">
             <td ng-repeat="column in table.getVisibleColumns()"
-                ng-bind="table.getValue(item, column.valueExpression)"
-                ng-attr-id="{{'email-' + table.getValue(item, column.valueExpression) }}"></td>
+                ng-bind="table.getValue(item, column.valueExpression)"></td>
             <td></td>
         </tr>
     </tbody>