I need to make a grading table with variable width (2-6) and fill in the data at runtime. Table view should be like this. How can I do this?