Posted 2 February 2021, 5:16 pm EST
Hi, is there a built in switch to allow editing via a single tap instead of double tap?
Forums Home / ComponentOne / ComponentOne Studio for Xamarin
Posted by: chris on 2 February 2021, 5:16 pm EST
Posted 2 February 2021, 5:16 pm EST
Hi, is there a built in switch to allow editing via a single tap instead of double tap?
Posted 3 February 2021, 8:40 am EST
Hi Chris
To achieve this, capture the CellTapped event of the FlexGrid, and call the StartEditing method of the FlexGrid by passing the row/column which is tapped.
private void Grid_CellTapped(object sender, GridInputEventArgs e)
{
grid.StartEditing(e.CellRange.Row, e.CellRange.Column, true);
}
For reference please have a look at the “GettingStarted” sample of the attached FlexGrid101 sample.
Please let me know if you need any other help.
Thanks