What you need to do is create a custom filter: http://datatables.net/development/filtering#row_filters - the normal DataTables filter doesn't have access to the TR element (since that would be horribly slow), hence the need for this method.
In the function you have three parameter: oSettings, aData, iDataIndex. To get the TR element for each row you would do:
[code]
var nTr = oSettings.aoData[ iDataIndex ].nTr;
[/code]
then you've got the TR element and you can do a test against your array of ids and the TR's id and see if it should be included or not.
Replies
In the function you have three parameter: oSettings, aData, iDataIndex. To get the TR element for each row you would do:
[code]
var nTr = oSettings.aoData[ iDataIndex ].nTr;
[/code]
then you've got the TR element and you can do a test against your array of ids and the TR's id and see if it should be included or not.
Allan