DataTable - multiple sort not working with either scrollable tables or lazy tables
sortMode="multiple" does not work with scrollable="true".
Also does not work with laze="true" (no multipleSortMetadata in the onRefresh method)
confirmed. Same behaviour with Angular2
<p-dataTable [value]="loginHistModel" sortMode="multiple" [lazy]="true" (onLazyLoad)="loadLoginHist($event)" [totalRecords]="loginHistLen"
[rows]="10" [paginator]="true" [responsive]="true" [pageLinks]="6" [rowsPerPageOptions]="[5,10,20]" >
loadLoginHist(event: LazyLoadEvent) {
console.log(event);
}
/* filters: Object first: 0 multiSortMeta: undefined rows: 10 sortField: "Message" sortOrder: 1 proto: Object */ So sortMode always works as single.
Exactly the same problem for me. Please fix it, it's a realy necessary feature!
I have the same problem. Pls. solve it!!
Does it happen with 2.0.2?
Please try with the latest PrimeNG version and comment if the issue still persists.
works now