datatable rowgroup grouping by a section of a field

UI Components for React
Post Reply
smartsoftware
Posts: 4
Joined: 19 Dec 2020, 16:21

17 Sep 2021, 11:15

Hello to all,
I am using Datatable to group my items acording to a "string" or "date" field. But is it possible to sort and group by a function?
In my data items there is a date field wihich contains both date and time (2021.08.19T06:16:00 etc) but I want sorting to be based on date field, but grouping to be based on only the date (not time) portion of the date field. Is this possible, and if so how can I achieve this?

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests