2727 </ mat-autocomplete >
2828 </ mat-form-field >
2929
30-
31- < section class ="sortSection ">
32- < mat-button-toggle-group [formControl] ="SortCtrl " aria-label ="Sort By ">
33- < mat-button-toggle value ="sortByTask " (click) ="changeTableBasedOnCurrentSort() "> Activity</ mat-button-toggle >
34- < mat-button-toggle value ="sortBySAMM " (click) ="changeTableBasedOnCurrentSort() "> SAMM</ mat-button-toggle >
35- < mat-button-toggle value ="sortByISO " (click) ="changeTableBasedOnCurrentSort() "> ISO</ mat-button-toggle >
36- </ mat-button-toggle-group >
37- </ section >
30+ < div class ="right-section ">
31+ < section class ="export-button ">
32+ < button mat-raised-button color ="primary " (click) ="exportToExcel() ">
33+ < mat-icon > file_download</ mat-icon >
34+ </ button >
35+ </ section >
36+ < section class ="sort-section ">
37+ < mat-button-toggle-group [formControl] ="SortCtrl " aria-label ="Sort By ">
38+ < mat-button-toggle value ="sortByTask " (click) ="changeTableBasedOnCurrentSort() "> Activity</ mat-button-toggle >
39+ < mat-button-toggle value ="sortBySAMM " (click) ="changeTableBasedOnCurrentSort() "> SAMM</ mat-button-toggle >
40+ < mat-button-toggle value ="sortByISO " (click) ="changeTableBasedOnCurrentSort() "> ISO</ mat-button-toggle >
41+ </ mat-button-toggle-group >
42+ </ section >
43+ </ div >
3844 </ div >
3945
4046
94100 < tr mat-header-row *matHeaderRowDef ="displayedColumns "> </ tr >
95101 < tr mat-row *matRowDef ="let row; columns: displayedColumns; "> </ tr >
96102 </ table >
103+
104+ < table id ="excel-table " class ="hide ">
105+ < tr >
106+ < th > Dimension</ th >
107+ < th > Sub Dimension</ th >
108+ < th > Activity</ th >
109+ < th > SAMM</ th >
110+ < th > ISO</ th >
111+ </ tr >
112+ < tr *ngFor ="let item of performedMappingDataSortedByISO ">
113+ < td > {{item.dimension}}</ td >
114+ < td > {{item.subDimension}}</ td >
115+ < td > {{item.taskName}}</ td >
116+ < td > {{item.samm2}}</ td >
117+ < td > {{item.ISO}}</ td >
118+ </ tr >
119+ </ table >
97120</ div >
98121
0 commit comments