I can't change the standard class dataTables_empty
I can't change the standard class dataTables_empty
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!
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!
This discussion has been closed.
Replies
Allan