I have a grid (table) like structure with rows and columns, and I am assigning the background color for every cell using the border object.
How do I change the background color for every cell of the grid?
This is my approach:
Delete the border object and assign it a new one.
I have also tried to create a new
Borderobject, and add it. But it throwsInvalidOperationExceptionstating "Element is already the child of another element".
How can I change the background color for a particular table row?