We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

RowData is null in Find is not valid operation


In my Xamarin form project AFTER UPGRADING sfDataGrid from 17.3.x to 17.4.x, when try to set the grid selected item I keep receiving 'RowData is null in Find is not valid operation sfdatagrid' exception!

if (dgGrid.View?.Records.Count > 0)
    dgGrid.SelectedItem = dgGrid.View.Records[0].Data;

any thoughts or suggestion? 

1 Reply

KK Karthikraja Kalaimani Syncfusion Team January 13, 2020 04:15 AM

Hi Behzad,

Thanks for contacting Syncfusion support.

We have checked the reported issue “RowData is null in find is not valid operation” and we are unable to reproduce the issue in our end and it is working fine as expected. We have attached the tested sample for your reference.

Sample link : https://www.syncfusion.com/downloads/support/directtrac/general/ze/DataGrid_Demo22021724359.zip

Video link : https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video_Reference1910780977.zip

Xamarin Forms Version :

SfDataGrid Version : &

Please let us know the following  details,

* SfDataGrid settings
* Which platform you are facing the issue ?
* Xamarin Forms Version
* Which way you have tried to get Record Data ?

Karthik Raja 

Live Chat Icon For mobile
Up arrow icon