fnSortListener usage
fnSortListener usage
Daveomania
Posts: 15Questions: 0Answers: 0
Hi there,
I am having problems trying to get my data to sort properly. For example, if I have a table with 10 rows and each row is 1-10:
1
2
3
4
5
6
7
8
9
10
When I hit the sort for the top of that row, I end up with:
1
10
2
3
4
5
6
7
8
9
When I load the table I use [code]fnSort([[0, 'asc']]);[/code] and that works for the initial rendering.
So what I am wondering is can I use the listener and attach it to only that column header? Using iDataSort gives me the same unwanted results.. so I need a way to get around this.
Thanks for any help!!!
Dave
I am having problems trying to get my data to sort properly. For example, if I have a table with 10 rows and each row is 1-10:
1
2
3
4
5
6
7
8
9
10
When I hit the sort for the top of that row, I end up with:
1
10
2
3
4
5
6
7
8
9
When I load the table I use [code]fnSort([[0, 'asc']]);[/code] and that works for the initial rendering.
So what I am wondering is can I use the listener and attach it to only that column header? Using iDataSort gives me the same unwanted results.. so I need a way to get around this.
Thanks for any help!!!
Dave
This discussion has been closed.
Replies
Regards,
Allan
I will try removing the whitespace and if that fails I will attempt using 1.7 beta 5. I will post back my outcome.
:D
Thank you very much Allan!
Dave
Regards,
Allan