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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Data grid row selection

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 08:41 AM UTC

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.

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

;