2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
Currently SfDataGrid does not directly support editing of GridCells. However, if your requirement is to edit the text of the GridCells during runtime, SfDataGrid allows you to achieve this by creating a custom GridCell derived from GridCell. You can load an editable control inside the GridCell from the sample. The edited values can be committed in the EditingChanged event handler of the UITextField class. Refer the following code example to edit the text of GridCell in runtime. ViewController.cs
CustomCell.cs
The following screenshot shows the final outcome upon execution of the above code. The working sample for this KB is available in the following location http://www.syncfusion.com/downloads/support/directtrac/general/ze/EditText_(2)-332228580
|
2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.