Mam mały problem otóż używam jQuery UI table filter. Dla całej tabeli działa bez problemu. Jednak zależy mi żeby filtrować wartości tylko w wybranych kolumnach tzn jeden input dla jednej kolumny. Na stronie projektu jest tak
Cytat
$.uiTableFilter( t, phrase, column, ifHidden )
* column to limit search too (the column title in the table header)
* column to limit search too (the column title in the table header)
Poniżej część mojego kodu
var kolumna =// tu nie wiem co wstawić próbowałem z attr. ale nie działa
$('#tab1').scrollable({tableHeight:185, tableWidth:600}); $("#tab1 ").tablesorter(); $("#ids").keyup(function() { $.uiTableFilter( tabela, this.value, kolumna ); })
Jakieś pomysły? Z góry dzięki za wszelką pomoc