How to insert and remove of rows and columns at runtime?

At runtime you can insert and remove rows and columns with the InsertRows, InsertCols, RemoveRows and RemoveCols API.

Example:

   InsertRows(2, 4);   // Insert 4 rows before row 2
   RemoveCols(2, 5);   // Remove column 2 to 5