I have tried two different methods for clearing or emptying a grid. The first one was a loop, deleting each row one at a time (This was notably slow). The second one was
calling on the column.clear; in which it did indeed clear it very fast. Then I recreated the columns in code. The problem with the second method was, even though it repopulated the grid, when selecting a row I would get all sorts of errors.
What else does the column.clear; also effect besides removing the headers? Is there a proper way to clear the row - column data that does not require deleting each row one at a time?
Comments