sSortDataType and aDataSort not working properly together on first sort

sSortDataType and aDataSort not working properly together on first sort

npinchot_uctnpinchot_uct Posts: 4Questions: 0Answers: 0
edited January 2013 in Bug reports
Please have a look at this example:
http://live.datatables.net/exilof

I am trying to use aDataSort for column 3 to sort by column 3 and then column 1 where both are using a custom sSortDataType. If you manually sort by column 1 (and any others) before sorting by column 3, it works properly. However, if you don't sort by column 1 before sorting by column 3, column 3 sorts properly but the aDataSort of column 1 has random results (you'll need to refresh the browser window or toggle between code/render once you have sorted by column 1 manually to see the bug).

Additionally, you can try the "Sort by open then duration" link which will work properly on the first try every time.

Am I doing something wrong? Do columns that make use of sSortDataType need to be "seeded" in some manner?

Thanks.

Replies

  • npinchot_uctnpinchot_uct Posts: 4Questions: 0Answers: 0
    Is there something else I should include here to get this considered for review to be put on the proper bug list?
  • npinchot_uctnpinchot_uct Posts: 4Questions: 0Answers: 0
    If someone can point me in the right direction of what portion of the code to look at so I can attempt to resolve the issue I'd appreciate it :)
This discussion has been closed.