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.

Data grid row selection

Thread ID:

Created:

Updated:

Platform:

Replies:

125298 Aug 5,2016 12:49 PM Aug 8,2016 04:41 AM Xamarin.iOS 1
loading
Tags: SfDataGrid
Arturo Calvo
Asked On August 5, 2016 12:49 PM

Hi, Im using SfDataGrid to show some data, the problem is that, when I select a row it goes to the event method called 
DataGrid_SelectionChanging 

but when I check the selected item or selected index, they are null and -1.

I wonder, is there any way to get the data or the object for the row Ive selected? or Am I doing something wrong?

Thanks in advance for your answeer 

Ashok N [Syncfusion]
Replied On August 8, 2016 04:41 AM

Hi Arturo,  

Thank you for contacting Syncfusion support. 

We have checked in your query, SelectionChanging event occurs before processing the selection to particular row. You can achieve your requirement by handling SelectionChanged event. This event will occurs once the selection process has been completed for particular row. Please refer the below UG link to get more information about selection in our SfDataGrid. 

Regards, 
Ashok

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.

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.

;