Implement basic search function
Fix issue with the search feature: the grid was empty after closing search