Hiding Specific Rows from being searched
Hiding Specific Rows from being searched
I have a series of checkboxes that indicate a group name. When I enable the checkbox, I want the the data for that pariticular group to become viewable in the data table. In otherwords, if I click a checkbox inicating "Florida" I only want the rows containing "Florida" as the group name column to be visible/searchable. Is this possible with the built in mechanisms?
This discussion has been closed.
Replies
[code]
var tableRows = userDataTableList.$('tr');
$("#testbutton").click(function(){
tableRows.each(function(){
if ($(this).hasClass("hidethis"))
{
$(this).hide();
}
});
return false;
});
[/code]