feat: place abpList directive on datatable instances

pull/4216/head
Arman Ozak 5 years ago
parent e81930100e
commit aebb403969

@ -20,22 +20,7 @@
</div>
<div class="card-body">
<ngx-datatable
[rows]="data$ | async"
[loadingIndicator]="list.isLoading$ | async"
[externalSorting]="true"
(sort)="sort($event)"
[externalPaging]="true"
[count]="totalCount$ | async"
[offset]="list.page"
[limit]="list.maxResultCount"
(page)="list.page = $event.offset"
[headerHeight]="50"
[footerHeight]="50"
columnMode="force"
rowHeight="auto"
class="material"
>
<ngx-datatable [rows]="data$ | async" [count]="totalCount$ | async" [abpList]="list">
<ngx-datatable-column
[name]="'AbpIdentity::Actions' | abpLocalization"
[maxWidth]="150"

@ -30,23 +30,7 @@
</div>
</div>
<ngx-datatable
[rows]="data$ | async"
[loadingIndicator]="list.isLoading$ | async"
[externalSorting]="true"
(sort)="sort($event)"
[externalPaging]="true"
[count]="totalCount$ | async"
[offset]="list.page"
[limit]="list.maxResultCount"
(page)="list.page = $event.offset"
[headerHeight]="50"
[footerHeight]="50"
[scrollbarH]="true"
columnMode="force"
rowHeight="auto"
class="material"
>
<ngx-datatable [rows]="data$ | async" [count]="totalCount$ | async" [abpList]="list">
<ngx-datatable-column
[name]="'AbpIdentity::Actions' | abpLocalization"
[maxWidth]="150"

@ -31,22 +31,7 @@
</div>
</div>
<ngx-datatable
[rows]="data$ | async"
[loadingIndicator]="list.isLoading$ | async"
[externalSorting]="true"
(sort)="sort($event)"
[externalPaging]="true"
[count]="totalCount$ | async"
[offset]="list.page"
[limit]="list.maxResultCount"
(page)="list.page = $event.offset"
[headerHeight]="50"
[footerHeight]="50"
columnMode="force"
rowHeight="auto"
class="material"
>
<ngx-datatable [rows]="data$ | async" [count]="totalCount$ | async" [abpList]="list">
<ngx-datatable-column
[name]="'AbpTenantManagement::Actions' | abpLocalization"
[maxWidth]="150"

Loading…
Cancel
Save