0

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.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Chittprakash
  • 67
  • 11

2 Answers2

0

You will need to write a custom sorting function.

John Lindal
  • 616
  • 5
  • 11
0

@chittprakash

Here is an example : http://yuilibrary.com/yui/docs/api/classes/DataTable.Sortable.html

CoderTR
  • 500
  • 3
  • 7
  • 19