-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.component.html
74 lines (61 loc) · 2.73 KB
/
app.component.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<p>Select City:<br/></p>
<select (change)="changedValue($event.target.value)">
<option *ngFor="let bank of bankList" [value]="bank.name">
{{bank.name}}
</option>
</select>
<mat-form-field class='textFilter'>
<input matInput (keyup)="applyFilter($event.target.value)"
placeholder="Filter">
</mat-form-field>
<div class="example-container mat-elevation-z8">
<mat-table #table [dataSource]="dataSource" class="mat-elevation-z8">
<!-- IFSC Column -->
<ng-container matColumnDef="ifsc">
<th mat-header-cell *matHeaderCellDef>IFSC Code </th>
<td mat-cell *matCellDef="let element"> {{element.ifsc}} </td>
</ng-container>
<!-- Bank_id Column -->
<ng-container matColumnDef="bank_id">
<th mat-header-cell *matHeaderCellDef>Bank Id </th>
<td mat-cell *matCellDef="let element"> {{element.bank_id}} </td>
</ng-container>
<!-- Branch Column -->
<ng-container matColumnDef="branch">
<th mat-header-cell *matHeaderCellDef> Branch </th>
<td mat-cell *matCellDef="let element"> {{element.branch}} </td>
</ng-container>
<!-- Address Column -->
<ng-container matColumnDef="address">
<th mat-header-cell *matHeaderCellDef> Address </th>
<td mat-cell *matCellDef="let element"> {{element.address}} </td>
</ng-container>
<!-- City Column -->
<ng-container matColumnDef="city">
<th mat-header-cell *matHeaderCellDef>City </th>
<td mat-cell *matCellDef="let element"> {{element.city}} </td>
</ng-container>
<!-- District Column -->
<ng-container matColumnDef="district">
<th mat-header-cell *matHeaderCellDef> District </th>
<td mat-cell *matCellDef="let element"> {{element.district}} </td>
</ng-container>
<!-- State Column -->
<ng-container matColumnDef="state">
<th mat-header-cell *matHeaderCellDef>State </th>
<td mat-cell *matCellDef="let element"> {{element.state}} </td>
</ng-container>
<!-- Bank Name Column -->
<ng-container matColumnDef="bank_name">
<th mat-header-cell *matHeaderCellDef> Bank Name </th>
<td mat-cell *matCellDef="let element"> {{element.bank_name}} </td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
</mat-table>
<mat-paginator #paginator
[length]="10"
[pageSize]="10"
[pageSizeOptions]="[5, 10, 25, 100]">
</mat-paginator>
</div>