How to get a specific cell data from a DataGrid in C#

I am looking to fill in a text box with string data that is in the SfDataGrid control. User taps on a specific cell and the text box is filled with the information in the cell. 

1 Reply 1 reply marked as answer

VS Vijayarasan Sivanandham Syncfusion Team June 25, 2020 04:28 PM UTC

Hi Sean Liming,

Thank you for contacting Syncfusion support.

You can achieve your requirement by SfDataGrid.CurrentCellActivated. Please refer the below KB documentation for your reference,

KB Link:
https://www.syncfusion.com/kb/6112/how-to-get-the-current-cell-value-when-you-click-the-cell

Sample Link:  https://www.syncfusion.com/downloads/support/forum/155506/ze/Sample-1155568651 
We hope this helps. Please let us know, if you require further assistance on this.

Regards,
Vijayarasan S 


Marked as answer
Loader.
Up arrow icon