2021-10-22 13:01:54 +00:00
|
|
|
<div class="vn-pa-md">
|
|
|
|
<vn-horizontal>
|
|
|
|
<div class="actions-left">
|
|
|
|
<vn-button icon="view_column"
|
2021-10-23 12:26:42 +00:00
|
|
|
ng-click="$ctrl.shownColumns()"
|
2021-10-22 13:01:54 +00:00
|
|
|
vn-tooltip="Shown columns">
|
|
|
|
</vn-button>
|
2021-10-23 12:26:42 +00:00
|
|
|
|
|
|
|
<div ng-transclude="actions"></div> <!-- transcluded actions -->
|
2021-10-22 13:01:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="actions">
|
|
|
|
<vn-button icon="search"
|
2021-10-23 12:26:42 +00:00
|
|
|
ng-click="$ctrl.displaySearch()"
|
2021-10-22 13:01:54 +00:00
|
|
|
vn-tooltip="Search">
|
|
|
|
</vn-button>
|
|
|
|
<div class="button-group">
|
|
|
|
<vn-button icon="add"
|
2021-10-23 12:26:42 +00:00
|
|
|
ng-click="$ctrl.createRow()"
|
2021-10-22 13:01:54 +00:00
|
|
|
vn-tooltip="Add new row">
|
|
|
|
</vn-button>
|
2021-10-23 12:26:42 +00:00
|
|
|
<vn-button icon="undo"
|
|
|
|
ng-click="$ctrl.model.undoChanges()"
|
|
|
|
vn-tooltip="Undo">
|
|
|
|
</vn-button>
|
2021-10-22 13:01:54 +00:00
|
|
|
<vn-button icon="delete"
|
2021-10-24 11:35:37 +00:00
|
|
|
ng-click="$ctrl.deleteAll()"
|
2021-10-22 13:01:54 +00:00
|
|
|
vn-tooltip="Remove selected rows">
|
|
|
|
</vn-button>
|
|
|
|
<vn-button icon="save"
|
2021-10-23 12:26:42 +00:00
|
|
|
ng-click="$ctrl.saveAll()"
|
2021-10-22 13:01:54 +00:00
|
|
|
vn-tooltip="Save data">
|
|
|
|
</vn-button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="button-group">
|
|
|
|
<vn-button icon="refresh"
|
|
|
|
ng-click="$ctrl.model.refresh()"
|
|
|
|
vn-tooltip="Refresh">
|
|
|
|
</vn-button>
|
|
|
|
<vn-button icon="more_vert"
|
|
|
|
ng-click="moreOptions.show($event)"
|
|
|
|
vn-tooltip="More">
|
|
|
|
</vn-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn-horizontal>
|
|
|
|
|
2021-10-23 12:26:42 +00:00
|
|
|
<div id="table"></div>
|
2021-10-22 13:01:54 +00:00
|
|
|
</div>
|