Separated the gradient table view to its own class