In my datagrid I have a date column. I used using
labelfunction to have in a certain format. I am trying to use
sortcomparefunction to sort on that column. I have tried using the
following but it not working good. :
In case if you have not solved this issue below yet. Here is
the reason why your sortGrid() function is not working. The
parameters for the sortGrid callback function are not of type Date
type, it is actually getting the data element type that the data
provider to the grid consists of.
ex: if the dataprovider is an ArrayCollection of 'employee'
type objects, you are getting the 'employee' objects as parameters
representing the whole row in the grid (not just the DateStart