CurrentCellEndEdit event not executed when grid loose focus

Hello,
I have a problem with CurrentCellEndEdit on sfDataGrid.
When a cell is edited and the user click on the label (off the sfDdataDrid) the event CurrentCellEndEdit not execute.

(...)
public partial class GridPage : ContentPage
{
         public GridPage ()
        {
InitializeComponent ();       
        dataGrid.CurrentCellEndEdit += DataGrid_CurrentCellEndEdit;
    }

    private void DataGrid_CurrentCellEndEdit(object sender, GridCurrentCellEndEditEventArgs e)
    {
        //some code - not executed when datagrid lose focus (when user click Label - off the sfDdataGrid)
    }
}
(...)

How to get the sfDataGrid to fire CurrentCellEndEdit event in such a case?

2 Replies

PK Pradeep Kumar Balakrishnan Syncfusion Team January 11, 2021 07:29 PM UTC

Hi Marcin, 
 
Thank you contacting Syncfusion support. 
 
We have checked your query “How to call CurrentCellEndEdit when we tap outside SfDatagrid and DataGrid cell is in editing”. Currently, we don’t have support for this requirement we will analyze the feasibility to achieve your requirement and let you know the details by January 13, 2021. We appreciate your patience until then. 
 
Regards, 
Pradeep Kumar B 



PK Pradeep Kumar Balakrishnan Syncfusion Team January 13, 2021 06:17 AM UTC

Hi Marcin 
 
Thank you for your patience. 
 
Currently, we don’t have a support to end the editing of cell when leaving focus from SfDataGrid to other control. So, we have considered providing support for “Support to end the editing of cell when leaving focus from SfDataGrid to other control” in Xamarin.Forms. and we have already considered and added this feature request to our database. We will implement this feature in any of our upcoming release.  
  
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented.  
 
  
Please cast your vote to make it count. We will prioritize the features every release based on the demands. 
 
If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal. 
 
Regards, 
Pradeep Kumar B 


Loader.
Up arrow icon