Sorting YUI Datatable, keep null values on Top

281 Views Asked by At

I am sorting a YUI Datatable, with a column as Date, there are some NULL values for the column.

I need to have those null values remain on top rows of the table, irrespective of the sort order.

2

There are 2 best solutions below

1
On

You will need to write a custom sorting function.

0
On