sorting number with coma datatable

Solutions on MaxInterview for sorting number with coma datatable by the best coders in the world

showing results for - "sorting number with coma datatable"
Valentine
14 Nov 2019
1<script type="text/javascript" src="jquery.dataTables.js"></script>
2<script type="text/javascript" src="dataTables.numericComma.js"></script>
3<script type="text/javascript">    
4	$(document).ready(function() {        
5  		$('#example').dataTable( { 
6          "columnDefs": [
7            { "type": "numeric-comma", targets: 3 }
8          ]        
9        } );    
10	} );
11</script>