FlexGrid allows a user to perform in-line editing using the default android 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, click the DONE button, or simply press Enter, this automatically updates the data in the appropriate format. You can set the IsReadOnly property to true for the rows and columns that you want to restrict editing for.
The image below shows how the FlexGrid appears, after these properties have been set.
The following code example demonstrates how to set this property in C#. The example uses the sample created in the Quick Start section.
C# |
Copy Code |
---|---|
grid.IsReadOnly = false; |