Hi,
I observed the issue as you mentioned by using your sample code with Aspose.Cells.GridDesktop v8.7.0. I found an issue with GridDesktop control with RemoveRow(index) where index is “0” and when we just open a blank GridDesktop control. We add some data to the cells in first few rows manually at runtime. Now if we use Worksheet.RemoveRow(0) on some (.NET) button’s click or on some other event, it does not remove the row rather it just makes the first row empty. The Worksheet.RemoveRow® - when r > 0, it always works fine.
e.g
Sample code:
//Accessing first worksheet of the Grid
Worksheet sheet = gridDesktop1.Worksheets[0];
//Removing the first row of the worksheet
sheet.RemoveRow(0);
Also, I found a subsequent call to RemoveRow(0) causes an exception “Invalid logic for inserting rows” as the user has mentioned. I have logged a ticket with an id “CELLSNET-44232” for your issue. We will look into it soon.
Once we have any update on it, we will let you know here.
Thank you.