activeSheet.setValue(0, 0, "The 1st row", GcSpread.Sheets.SheetArea.viewport);
activeSheet.setValue(1, 0, "The 2st row", GcSpread.Sheets.SheetArea.viewport);
activeSheet.setValue(2, 0, "The 3st row", GcSpread.Sheets.SheetArea.viewport);
activeSheet.deleteRows(1, 1);
$("#button1").click(function () {
var deleteRows = activeSheet.getDeleteRows();
var len = deleteRows.length;
for (i = 0 ; i < len; i++) {
var d = deleteRows[i];
alert("rowIndex:" + d.row);
}
});
//Add a button control to the page
<input type="button" id="button1" value="button1"/>