First of all, apologies if this is not the correct place to report bugs for V2 of Datatables, second apologies again if this is not a bug and simply a misunderstanding of implementation.
Unfortuantly I am unable to link to a live version so I have replicated it using the test suite.
http://live.datatables.net/dowameb/1/edit?js,output
As you can see I have modified cell value inside the rowCallback function, doing this does not get taken into account when then ordering that particular column...
I saw in the documentation that you can set orthagonal data using data-sort but again this does not seem to have any effect when doing so (also demonstrated) in the rowCallback function.
In my implementation I am unable to set the order at markup level as I use ajaxsource with an aaData object to return the values to be added to the table.
If I am indeed correct that this is a bug, I am not sure how difficult it would be but perhaps an implementation idea could be to supply two values inside the aaData object
eg...
Hopefully this is easy enough to understand, I am relatively new to reporting problems (if as alluded to previously this is a problem at all)
Unfortuantly I am unable to link to a live version so I have replicated it using the test suite.
http://live.datatables.net/dowameb/1/edit?js,output
As you can see I have modified cell value inside the rowCallback function, doing this does not get taken into account when then ordering that particular column...
I saw in the documentation that you can set orthagonal data using data-sort but again this does not seem to have any effect when doing so (also demonstrated) in the rowCallback function.
In my implementation I am unable to set the order at markup level as I use ajaxsource with an aaData object to return the values to be added to the table.
If I am indeed correct that this is a bug, I am not sure how difficult it would be but perhaps an implementation idea could be to supply two values inside the aaData object
eg...
{"aaData":[ [ 28, "00011", "PY/66732", "Someones Name", { display : "ABCD", order : "SomeValueThatShouldDisplaySecondWhenOrderedAlphabetically" } ], [ 65, "00012", "PY/54356", "Protected For Integrity", { display : "EFGH", order : "AnotherValueTheShouldDisplayFirstWhenOrderedAlphabetically" } ] ]}
Hopefully this is easy enough to understand, I am relatively new to reporting problems (if as alluded to previously this is a problem at all)