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

How to move row detail column to last of record?

$
0
0
Hi,

I'm new to the field of javascript, and I want move the row detail column to last of record.
http://www.datatables.net/examples/api/row_details.html

I think the column with details_open.png was specified by following code to be insert to first of record, but I don't know how to modify it to be insert to last of record.

$('#example thead tr').each( function () {
					this.insertBefore( nCloneTh, this.childNodes[0] );
				} );
				
				$('#example tbody tr').each( function () {
					this.insertBefore(  nCloneTd.cloneNode( true ), this.childNodes[0] );
				} );

Please give me an advice.

Viewing all articles
Browse latest Browse all 82109

Trending Articles



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