소스 검색

adding the table id

Aaron Baker 8 년 전
부모
커밋
5daa08f5ed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/angular/src/ux/table.directive.html

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

@@ -31,7 +31,7 @@
     </thead>
     </thead>
     <tbody>
     <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' + $index }}">
+            ng-attr-id="{{'row-' + $index }}">
             <td ng-repeat="column in table.getVisibleColumns()"
             <td ng-repeat="column in table.getVisibleColumns()"
                 ng-bind="table.getValue(item, column.valueExpression)"></td>
                 ng-bind="table.getValue(item, column.valueExpression)"></td>
             <td></td>
             <td></td>