is there a bug with sorting_asc/desc icon swith in server_side way?

is there a bug with sorting_asc/desc icon swith in server_side way?

zhenhezhenhe Posts: 2Questions: 0Answers: 0

I try many times,but it doesn't work.
in server_side way,I tried to click thead to sort the reords,request was sent normally but the arrow-icon didn't change.
change params "processing" to false,it works,
var table = $('#user_table').DataTable({
"processing": false,

but ajax request wont't be sent.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    edited May 2014

    Can you link me to a page that shows the issue? The examples on this site appear to be working okay: http://datatables.net/examples/server_side/simple.html.

    Thanks,
    Allan

  • zhenhezhenhe Posts: 2Questions: 0Answers: 0

    Thanks,allan!
    Thank you for repling so timely! There's something wrong with your giving examples link yesterday ningt in beijing,but now it's good .Just an hour ago .
    I diffed the example and my project carfully,and found the difference between them that I lost the draw in response.If dont put "draw" node in response,the arrow-icon won't switch.I'm so careless,I'm sorry to trouble you.
    Don't laught at me,haha. and excuse my poor english!

    Thanks agian,allan!

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    My examples had a bit of a hiccup on the new site when trying to connect to the database - sorry about that.

    Good to hear you have it working now!

    Allan

This discussion has been closed.