Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82248

responsive discards attributes set by columns.createdCell

$
0
0

when using columns.createdCell to set some attributes, say title or 'class' - reponsive drops them when moving the column to row details. Same happens to attributes of row header:
https://jsfiddle.net/0cztgfu4/4/
Workaround is to wrap the content in a span / div element - and then set the attrs on the wrapper, instead of directly on the th/td :
https://jsfiddle.net/0cztgfu4/5/


Viewing all articles
Browse latest Browse all 82248

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>