-alternating colors for blue datatable rows
This commit is contained in:
parent
1d30c208f8
commit
bb82dc2f4a
|
@ -125,7 +125,7 @@ function createDataGrid(){
|
||||||
"aoColumns": columns,
|
"aoColumns": columns,
|
||||||
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
|
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
|
||||||
if (aData[aData.length-2] == "t")
|
if (aData[aData.length-2] == "t")
|
||||||
$(nRow).attr("class", "playing-list");
|
$(nRow).addClass("playing-list");
|
||||||
if (aData[0] == "c")
|
if (aData[0] == "c")
|
||||||
$(nRow).attr("class", "playing-song");
|
$(nRow).attr("class", "playing-song");
|
||||||
else if (aData[0] == "b")
|
else if (aData[0] == "b")
|
||||||
|
|
Loading…
Reference in New Issue