Functianlity to show table grid