get column total using javascript

RAVI
1,076
Reputation points
Hello
Im using this javascript to filter my repater control
<script type="text/javascript">
$(document).ready(function() {
$('#list').DataTable( {
initComplete: function () {
this.api().columns("1").every( function () {
var column = this;
var select = $('<select><option value=""></option></select>')
.appendTo( $("#Span1").empty() )
.on( 'change', function () {
var val = $.fn.dataTable.util.escapeRegex(
$(this).val()
);
column
.search( val ? '^'+val+'$' : '', true, true )
.draw();
} );
column.data().unique().sort().each( function ( d, j ) {
select.append( '<option value="'+d+'">'+d+'</option>' )
} );
} );
how to get column total when i do filters
need help
thanks
Developer technologies ASP.NET Other
3,597 questions
Sign in to answer