mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-19 17:54:14 +01:00
Dev: Use jQuery to set the colspan / rowspan attributes
- This makes DT compatible with jscript
This commit is contained in:
parent
a854421f27
commit
30f3abee21
@ -1 +1 @@
|
||||
46e733e186268f979974307fa4ea52397cf1eebe
|
||||
455d3f562fc01aa00320869f9eeaae2280c01431
|
||||
|
5
media/js/jquery.dataTables.js
vendored
5
media/js/jquery.dataTables.js
vendored
@ -1750,8 +1750,9 @@
|
||||
}
|
||||
|
||||
/* Do the actual expansion in the DOM */
|
||||
aoLocal[i][j].cell.rowSpan = iRowspan;
|
||||
aoLocal[i][j].cell.colSpan = iColspan;
|
||||
$(aoLocal[i][j].cell)
|
||||
.attr('rowspan', iRowspan)
|
||||
.attr('colspan', iColspan);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user