Browse Source

Set active sort column

pull/6175/head
Thomas Kaul 6 days ago
parent
commit
ed010bcb34
  1. 9
      libs/ui/src/lib/accounts-table/accounts-table.component.html

9
libs/ui/src/lib/accounts-table/accounts-table.component.html

@ -13,7 +13,14 @@
} }
<div class="overflow-x-auto"> <div class="overflow-x-auto">
<table class="gf-table w-100" mat-table matSort [dataSource]="dataSource"> <table
class="gf-table w-100"
mat-table
matSort
matSortActive="name"
matSortDirection="asc"
[dataSource]="dataSource"
>
<ng-container matColumnDef="status"> <ng-container matColumnDef="status">
<th <th
*matHeaderCellDef *matHeaderCellDef

Loading…
Cancel
Save