Hi all,
i add a new row with fnAddData function then every columns css class lost , how can i should do to add that class ?
code like this :
i add a new row with fnAddData function then every columns css class lost , how can i should do to add that class ?
code like this :
$("#addRow").bind("click", function () {
var oTable = $('.postTable-published').dataTable();
var a = oTable.fnAddData([
"<img width=\"40px\" height=\"40px\" alt=\"\" src=\"c47a6c94-d736-477b-8459-67af42084ff3?w=120&h=120\">",
"add new row",
"<span>Video</span>",
"",
"1",
"1",
"true",
"false",
"false",
"dd"
]);
});