Any way to end Editing when Datagrid item count = 1

Hello,

I've currently encountered a problem with SfDatagrid for Xamarin.Forms.
My Datagrid has a collection of objects (with only one string property).
I want to give the possibility to edit this property in the datagrid, however if the item list only contains one item, the EndEdit-Event is not raised, as there is no other rows to tap.
Also I didn't find any way to raise the CancelEdit-Event while editing.

I've found an old thread in the wpf-forum (https://www.syncfusion.com/forums/121932/end-sfdatagrid-edition-when-losing-focus) where the solution was to use the LostKeyboardFocus Event, which would perfectly fit for my problems.
Is there something similar for Xamarin?
Can't be that hard to throw an event, when the keyboard is closed.

Greetings,
Alexander

1 Reply

VR Vigneshkumar Ramasamy Syncfusion Team September 10, 2018 11:59 AM UTC

Hi Alexander

Thanks for contacting Syncfusion support.

We have analyzed your query “Any way to end Editing when Datagrid item count
  = 1”. We validated the reported use case and we have consider your use case. A separate support incident has been created under your account to track the status of this query. 

Please log on to our support website to check for further updates.

http://www.syncfusion.com/Account/Logon?ReturnUrl=%2fsupport%2fdirecttrac/  

Regards,
 
Vigneshkumar R 


Loader.
Up arrow icon