Currency sorting only sorts current entries

Currency sorting only sorts current entries

tom1379tom1379 Posts: 1Questions: 0Answers: 0
edited April 2011 in General
Hi,

I've used the currency detection and sorting plugins to sort currency values in my table formatted as £xxx.xx

The sorting does work but only for the current entries in the table and does not sort using all entries so for example I have 10 entries by default so when I click sort on the column it will only sort those 10 values into order and not all the values from the table.

Here is the code I am using for my table (the uk_date detection and sorting works fine and accesses all table entries)

[code]

$(document).ready(function() {
$('#index_table').dataTable( {


"aoColumns": [
{ "sType": "uk_date" },
null,
null,
{"sType": "currency"},
{"sType": "currency"}
]

} );
} );

[/code]

Any ideas as to why this may be? Thanks very much for any help!

Tom

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Not a clue I'm afraid :-). Can you give us a link so we can see why it might be happening?

    Allan
This discussion has been closed.