dataTable sorting date columns
Posted: 07 Dec 2016, 12:43
Hi,
the ordering of the columns that contain the dates do not work.
the ordering of the columns that contain the dates do not work.
Code: Select all
<p-column field="datains" header="Data Ins" [style]="{'width':'90px'}" [filter]="true" filterMatchMode="contains" [sortable]="true">
<template let-data="rowData" pTemplate type="body">
<span>{{data.datains | date: 'dd/MM/yyyy'}}</span>
</template>
</p-column>