1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-19 17:54:14 +01:00

New: row().class() when given with a class, the class is added to the -tag tr element as well as the -tag td element

This commit is contained in:
Allan Jardine 2014-06-19 13:38:38 +01:00
parent 5c08c74d24
commit 84686a5b30
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
8f6df2b9f072694f09dbf1951d7cf6d206218c48
82b2580b26e160220f92abfa51c7cbca2b53b17a

View File

@ -7693,7 +7693,7 @@
}
else {
// Otherwise create a row with a wrapper
var created = $('<tr><td/></tr>');
var created = $('<tr><td/></tr>').addClass( k );
$('td', created)
.addClass( k )
.html( r )