Flashing alert base on value of cell

Flashing alert base on value of cell

peterwkcpeterwkc Posts: 21Questions: 0Answers: 0
edited October 2012 in General
Hello to all, I would like to implement red flashing alert on JQuery Data Table base on value of a cell but this cell is hidden from user. For instance, I have 4 columns and another one column is isAlert. Thus, base on this value to determine the flashing.

Is it possible to have have total 6 columns but display 5 columns only?

I had tried with following but it does not get value of id or something. Moreover, the highlight effect highlight the background rather than the text. I want the text flashing several times.


[code]
"fnDrawCallback" : function(oSettings) {

// may not initialized
var rows = oTable.fnGetNodes();
for (var i = 0; i < 5; ++i) {
for (var i = 0; i < rows.length; ++i) {
var isNew = $(rows[i]).find("td:id");
alert(isNew.val());
if ($isNew.is("0")) {
$(rows[i]).effect("highlight", {"color" : "red", "mode" : "show"},3000);
}
}
}

return true;
}

[/code]

Please help. Thanks.
This discussion has been closed.