How to change fnCreateSelect value with fnFilter on click
How to change fnCreateSelect value with fnFilter on click
I'd like to be able to click on a cell within a column that is filtered by the fnFilter API and have the value of that cell cause the filtering to only show those rows that contain that value. Actually, that is working fine using the following snippet:
[code]
$("thead td").each( function ( i ) {
if ( i === 1 ) {
this.innerHTML = fnCreateSelect( oTable.fnGetColumnData(i)
.sort( function(a,b) {var al=a.toLowerCase(),bl=b.toLowerCase()
return al==bl?(a==b?0:a
[code]
$("thead td").each( function ( i ) {
if ( i === 1 ) {
this.innerHTML = fnCreateSelect( oTable.fnGetColumnData(i)
.sort( function(a,b) {var al=a.toLowerCase(),bl=b.toLowerCase()
return al==bl?(a==b?0:a
This discussion has been closed.