got data filtering working with both table and search bar.