I can't change the standard class dataTables_empty

I can't change the standard class dataTables_empty

esallaesalla Posts: 2Questions: 0Answers: 0
edited June 2012 in General
Hiya!
I'm trying to change the class for the dataTables_empty, but I can't.
I have this code:
[code]
$.extend( $.fn.dataTableExt.oStdClasses, {
"sSortAsc": "sortingAsc",
"sSortDesc": "sortingDesc",
"dataTables_empty": "messageError"
} );
[/code]

For the sorting classes all is working right, they appear with the new names, but the dataTables_empty is still appearing.
Am I doing something wrong?

Thanks!

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    sRowEmpty is what you want: http://datatables.net/styling/custom_classes#sRowEmpty

    Allan
  • esallaesalla Posts: 2Questions: 0Answers: 0
    Thanks Allan!!
This discussion has been closed.