How can I change the background of the line according to the content?
How can I change the background of the line according to the content?
joao_oliveira
Posts: 32Questions: 0Answers: 0
$(document).ready(function() {
var oTable = $('#tbleitos').dataTable( {
"bPaginate": false,
"bLengthChange": false,
"bFilter": false,
//CLASSIFICAÇÃO DE COLUNAS
"bSort": false,
"bInfo": false,
//LARGURA INTELIGENTE DA COLUNA
"bAutoWidth": false,
"aoColumns" : [ {
"sWidth": "10px"},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null],
"bProcessing": false,
"bServerSide": true,
//ATUALIZAÇÃO EM REAL-TIME
"sAjaxSource": "consulta_cirurgias.php?sEcho=1" } );
setInterval(function()
{
//oTable.fnReloadAjax("consulta_teste.php?sEcho=1");
oTable.fnDraw();
//$('table.dataTable td').css('font-size', 70);
},120000);
} );
var oTable = $('#tbleitos').dataTable( {
"bPaginate": false,
"bLengthChange": false,
"bFilter": false,
//CLASSIFICAÇÃO DE COLUNAS
"bSort": false,
"bInfo": false,
//LARGURA INTELIGENTE DA COLUNA
"bAutoWidth": false,
"aoColumns" : [ {
"sWidth": "10px"},
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null],
"bProcessing": false,
"bServerSide": true,
//ATUALIZAÇÃO EM REAL-TIME
"sAjaxSource": "consulta_cirurgias.php?sEcho=1" } );
setInterval(function()
{
//oTable.fnReloadAjax("consulta_teste.php?sEcho=1");
oTable.fnDraw();
//$('table.dataTable td').css('font-size', 70);
},120000);
} );
This discussion has been closed.
Replies