initial filtering implementation for dynamic datatables