<script type=”text/javascript”>
jQuery(document).ready(function($){
$(‘.tablepress-id-1 tbody’).on( ‘click’, ‘tr’, function () {
var $a = $(this).find($(‘td’)).first();
var new_search_text = $(‘.tablepress-id-1’).DataTable().cell(this,0).data();
var short_text = new_search_text.substring(0,10);
$(‘.tablepress-id-1’).DataTable().search(short_text).draw();
} );
});
</script>
for anyone wondering. If anyone has a better way, let me know