Yes... you have to disable the grid you want to empty out, do a empty table command and then enable it again. Here's the code:
Table1->Active = false;
Table1->EmptyTable();
Table1->Active = true;
If you don't disable the grid, the program will crash on you. That is the only tricky part.