# Inline Editing

## Content



FlexGrid allows a user to perform in-line editing using your default device keyboard. Double clicking inside a cell puts it into a quick edit mode. Once you select the content inside the cell or row, it gives you options to Cut, Copy, Replace etc. for a smooth editing experience.

Once you have entered the new data, simply press **Enter**, this automatically updates the data in the appropriate format. You can set the [IsReadOnly](/componentone/api/xamarin/online-forms/dotnet-api/C1.Xamarin.Forms.Grid/C1.Xamarin.Forms.Grid.GridBase.IsReadOnly.html) to **true** for restricting editing in the rows and columns.

The image below shows how the FlexGrid appears, after these properties have been set.

![](https://cdn.mescius.io/document-site-files/images/fb6b46a2-eac0-487c-84c3-5e1b4c7b1348/images/flexgridinlineediting.png)

The following code example demonstrates how to set this property in C# and XAML. The example uses the sample created in the [Quick start](/componentone/docs/xamarin/online-forms/controls/OverviewFlexGrid/flexGridQuickStart) section.

#### In Code

```csharp
grid.IsReadOnly = false;   
```

#### In XAML

```xml
<c1:FlexGrid IsReadOnly="False" x:Name="grid"/>
```