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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Blank row when returning on a SfDataGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

123934 May 2,2016 12:36 PM UTC May 4,2016 05:58 PM UTC Xamarin.Android 2
loading
Tags: SfDataGrid
BRES
Asked On May 2, 2016 12:36 PM UTC

Hello everyone,

I'm currently building an android application using MvvmCross framework.
I'm using SfDataGrid to display a huge amount of data but I've a non-blocking issue with selection behavior.

When I select a line, everything is ok. I can retrieve selected data and pass them through my ViewModel exactly the way I want, to display detailed data for example.
But when I'm returning to SfDataGrid, previous selected row is now blank. When I tap it, it appears instantly with appropriate data.

I've seen using breakpoints that SfDataGrid object has a SelectedItem property (null when I'm returning, as intent), but also has a SelectionController with a SelectedItem property, that still has the last selected data !
I can't access this SelectionController without having a NullPointerException, so I would like to know how to avoid this blank row if possible, or how to report this strange behavior.

Vimal Prabhu Manohkaran [Syncfusion]
Replied On May 4, 2016 03:46 AM UTC

Hi Bres,

Thanks for contacting Syncfusion Support.

We are currently working on your requirement. We will provide you with more details regarding the same before end of day 4-5-2016.

Regards,
Vimal Prabhu

Vimal Prabhu Manohkaran [Syncfusion]
Replied On May 4, 2016 05:58 PM UTC

Hi Bres,

Thank you for your patience.

We were unable to produce the reported issue “Previous selected row is blank when returning to SfDataGrid”. We have attached the sample we created to check the reported issue for your reference.
 
In case, if your requirement differs from our sample, then please revert us with a modified sample based on your application to reproduce the issue along with clear replication procedure. 

Regards,
Vimal Prabhu


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;