Full number Pagination and sinfo together - Not happening

Full number Pagination and sinfo together - Not happening

srijansrijan Posts: 2Questions: 0Answers: 0
edited July 2012 in Bug reports
I'm trying to combine full number pagination and table information together. Something Like this

Previous Results 1 - 20 of 181 Page 1 2 3 4 5 Next

Everything seems good, EXCEPT the respective page numbers do not change its state to active and its always stuck at 1, no matter what "Result range" ( Results 1 - 20 of 181 or Results 20-40 of 181 or ... ) it is displaying.

What I did:

"fnDrawCallback": function( oSettings ) {

var info = $('.dataTables_info'); // information

$('.previous').after(info); // throw it after previous button.


},

Replies

  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    I would suggest just using CSS to do what you are looking for, rather than manipulating the DOM (which should already be okay for this). For example you could change the float:right on the default pagination style to float:left.

    Allan
  • srijansrijan Posts: 2Questions: 0Answers: 0
    edited July 2012
    Thank you for the reply. For some weird reason I was having that glitch. Its solved now. For anybody's reference - http://jsfiddle.net/WXDPm/6/
This discussion has been closed.