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.

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

Thread ID:





130896 Jun 8,2017 04:28 PM Jun 9,2017 03:09 AM WPF 1
Tags: SfDataGrid
Luis Fernando Gomez
Asked On June 8, 2017 04:28 PM

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

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

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.  
Muthukumar K 


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.