Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Requirements | Other Attributes | Summary |
---|---|---|
|
** If you don't include these attributes, then the column won't be sortable. ** | This directive selects all of the <td> elements below the onos-sortable-header attribute and checks if they have the sortable attribute. If it does, then it installs a sort click event on the <td> element. |
onos-flash-changes
Flashes the table rows whose information is new or updated.
Example Usage
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<div class="summary-list"> <div> <table> <tr> <td>ID</td> <td>Foo</td> <td>Bar</td> <td>Baz</td> </tr> </table> </div> <div> <table onos-flash-changes id-prop="id"> <tr ng-repeat="item in tableData track by $index" ng-repeat-complete row-id="{{item.id}}"> <td>{{item.id}}</td> <td>{{item.foo}}</td> <td>{{item.bar}}</td> <td>{{item.baz}}</td> </tr> </table> </div> </div> |