javascript - jquery datatables change td class for empty table -


i'm using jquery datatables plugin. (https://datatables.net/) wanna know if there's way change td class when tables empty. saw when there no rows in table datatables inserts row td class datatables_empty . there way change *datatables_empty* *mydatatables_empty* ?

i'm using fnrowcallback change other rows classes... seems not working auto inserted row when table empty.

you change using jquery quite easily.

in (document).ready handler...

$('.datatables_empty').removeclass('datatables_empty').addclass('mydatatables_empty'); 

alternatively use default class name , override in css.

otherwise, take @ datatables doco...


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -