jquery - Stick tableinfo to specific place in jqueryDatable -


everybody! i'm trying stick tableinfo in jquery datatable, thisenter image description here

but, when chang value in show-list, info slides down middle of column, thisenter image description here

i tried differnt variations of css fix that, failed. use code

.datatables_wrapper .datatables_info { clear: both; float: right; margin-top: -510px; margin-right: -550px; 

have got ideas how fix that?

use infocallback generate desired a - b of z layout :

var table = $("#example").datatable({    infocallback: function(settings, start, end, max, total, pre) {       return start+" - "+end+' of '+max;    } }); 

move tableinfo first column of table #example :

$(".datatables_info").detach().appendto($("#example th:first")); 

demo -> http://jsfiddle.net/zst02x5h/


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -