The alter method can be used if you want to insert or remove rows and columns using external buttons. The below example uses the a custom made jquery.handsontable.removeRow.js extension for that matter. Move your mouse over a row to see it.
You can programically select a cell using the selectCell method. The below button implements it.