trouble getting tablesorter filter and reset working

trouble getting tablesorter filter and reset working

Hi,

have the following button

  1.  <div class="bootstrap_buttons">
                    Reset filter : <button type="button" class="reset btn btn-primary" data-column="0" data-filter="">Reset filters</button>
                </div>

with following script in the head

  1.  <script>
               $(function () {
  2.                // filter button demo code
                   $('button.filter').click(function () {
                       var col = $(this).data('column'),
                           txt = $(this).data('filter');
                       $('table').find('.tablesorter-filter').val('').eq(col).val(txt);
                       $('table').trigger('search', false);
                       return false;
                   });
               });
        </script>

Tablesorter filter button working fine but I cant get it to add a full sort reset to the button. Ive tried adding

  1. .trigger('sortReset');
to various parts of the script but it wont work as per  http://jsfiddle.net/Mottie/856bzzeL/1005/

as well as adding as per the sortreset example 

  1. $('button').click(function(){
    $('table').trigger('sortReset');
    return false;
    });
but nothing seems to work.

Thanks in advance for any tips on getting this going.

Cheers

Todd