How to sort a Transaction record?
How to sort a Transaction record?
Hi,
I'd like to sort a ledger such that my table is in
0
1
2
3
4
5
I'd like the 1st page to be
3
4
5
And the second page to be
0
1
2
I've tried but i could only be able to get
page 1,
5
4
3
and second page
2
1
0
I'd like to use Datatable to sort the transaction record, such that when they click next, they will see the history log
[code]
$('#example').dataTable( {
"aaSorting": [[ 0, "desc" ]],
"bPaginate": true,
});
[/code]
Please advise!
Thanks in a million
I'd like to sort a ledger such that my table is in
0
1
2
3
4
5
I'd like the 1st page to be
3
4
5
And the second page to be
0
1
2
I've tried but i could only be able to get
page 1,
5
4
3
and second page
2
1
0
I'd like to use Datatable to sort the transaction record, such that when they click next, they will see the history log
[code]
$('#example').dataTable( {
"aaSorting": [[ 0, "desc" ]],
"bPaginate": true,
});
[/code]
Please advise!
Thanks in a million
This discussion has been closed.
Replies
Allan
Allan