skip to Main Content

Reactjs – Date Sorting with Prime React

I'm having issues sorting a datatable with prime react on the Date column. Here is my code <Column field="Date" header="Date" sortable={true} body={(rowData: any) => formatDate(rowData.Date)} /> And this is the function that creates a new date instance: export const formatDate…

VIEW QUESTION
Back To Top
Search