Refactoring, Fixed CSS for data grid and added tfooter to data grid table