## GridWorksheet.SetRowReadonly method

Sets a row to readonly so user can't delete it from client side. this is extended method of GridWeb specifically,it will not keep and take affect in actual excel file

```csharp
public void SetRowReadonly(int rowIndex, bool isReadonly)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rowIndex | Int32 | row index. |
| isReadonly | Boolean | true or false. |

### See Also

* class [GridWorksheet](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)


