Author Topic: Sort by time locally  (Read 1999 times)

rstrelau

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 5
    • View Profile
Sort by time locally
« on: May 06, 2015, 01:27:38 am »
I see there is a custom sort option "sortType" available in 2.4.0.  Anything similar to this on 2.3.0 or do we have to upgrade to get the custom sort option?

I'm looking for a way to sort date and time locally.  Thanks!

ryan

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6282
    • View Profile
Re: Sort by time locally
« Reply #1 on: May 06, 2015, 06:29:32 pm »
column.dataType callback is available for custom sorting in the previous versions.

http://paramquery.com/pro/api#option-column-dataType

that works similar to the basic version:

http://paramquery.com/demos/sorting_custom