Javascript – Datasource mat-table is not updating
I have a function that trigger when I sort the table deepens of a column I click but the data is not updating. This is the function and the table code: <table mat-table #table [dataSource]="dataSourceMD" matSort (matSortChange)="getRowMaximoTable($event)" matTableExporter #exporter="matTableExporter" #sortMD="matSort"…