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

How to get the cell value of specific row and column??

Thread ID:

Created:

Updated:

Platform:

Replies:

130896 Jun 8,2017 08:28 PM UTC Jun 9,2017 07:09 AM UTC WPF 1
loading
Tags: SfDataGrid
Luis Fernando Gomez
Asked On June 8, 2017 08:28 PM UTC

You can get the cell value of specific row and column in SfDataGrid 


Muthukumar Kalyanasundaram [Syncfusion]
Replied On June 9, 2017 07:09 AM UTC

Hi Luis, 

Thank you for contacting Syncfusion support. 

We have analyzed your query, You can achieve your requirement by using propertyCollection.GetValue() method as shown like below code, 
 
Code Snippet: 
 
// to get the record of specific row index. 
var rowData = dataGrid.GetRecordAtRowIndex(4); 
var propertyCollection = this.dataGrid.View.GetPropertyAccessProvider(); 
//to get the cellvalue of specific row and column  
var cellValue = propertyCollection.GetValue(rowData, "EmployeeName"); 



Could you please refer the below KB link, to get the information of selected cell in SfDataGrid.  
  
  
Please let us know if you have any query.  
  
Regards,  
Muthukumar K 

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

;