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: November 16, 2018).
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:





130896 Jun 8,2017 08:28 PM UTC Jun 9,2017 07:09 AM UTC WPF 1
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.  
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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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