Push Grid Up when Keyboard is shown

I am working on an application that leverages the SfDataGrid. I have all the functionality working, but when the number of records in the grid are long enough to cover the whole screen, when I go to edit one of the records it's covered up when the Soft Keyboard shows up. I know about the Scrolling functionality and although I'm using an MVVM approach, this is in my codebehind file:

private void OnCurrentCellBeginEdit(object sender, DataGridCurrentCellBeginEditEventArgs e)

    {

        ShowDataGrid.ScrollToRowIndex(e.RowColumnIndex.RowIndex, ScrollToPosition.MakeVisible);

    }

Unfortunately, this doesn't work because the app still thinks it is visible even when the keyboard shows up. I tried .Start as well but still nothing. Thanks in advance for any assistance!


1 Reply

TP Tamilarasan Paranthaman Syncfusion Team August 15, 2023 11:50 AM UTC

Hi Garrett,


We have extensively tested the provided sample using the latest DataGrid version 22.2.8 and confirmed that it operates seamlessly without encountering any issues. The automatic appearance of the editing cell within the view is functioning as expected. However, we understand that you are still experiencing challenges, and we are fully committed to assisting you in resolving this matter as promptly as possible.


In order to conduct a more comprehensive investigation, we kindly request that you assess the attached sample on your end and let us know if you encounter the same issue. Additionally, please furnish details about the platform on which you conducted the sample test, along with any other pertinent information related to this concern. It would significantly aid our investigation if you could provide a simplified sample that effectively demonstrates the issue you are facing. By doing so, you will enable us to delve into the matter and offer a timely and effective solution.


Regards,

Tamilarasan


Attachment: Sample_13a175ff.zip

Loader.
Up arrow icon