DataTables

DataTables Examples

HTML

<link rel="stylesheet" href="//cdn.datatables.net/1.10.0/css/jquery.dataTables.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.19/js/jquery.dataTables.min.js"></script>
<table id="table">
<thead>
    <th>Only Data</th>    
    <th>entityDecode</th>    
    <th>escape</th>   
    <th>encodeURI</th>   
</thead>
</table>

JavaScript

var table = $('#table').DataTable({
	data: [
  	{ Url: "http://example.com/?a=1&curren=USD"}
  ],
	columns:[
  	{ data: 'Url'},
    { data: 'Url',  entityDecode: false },
    { data: 'Url',  
    	render: function (url) {	return escape(url);
					}
     },
       { data: 'Url',  
    	render: function (url) {	return encodeURI(url);
					}
     }
  ]

});