Change column values in newly added row

This might have been answered already, my question/s are:

1. After adding a new row, i edit the value in one column and use it in a formula. I can access the selected column using the ffg:
     SfDataGrid.CurrentCell.CellRenderer.GetControlValue
2.  But i need to get the value of another column, for example, column 3. Is there a way to get the value of column 3? Can i specify a column and just get the value?

Thanks.



3 Replies 1 reply marked as answer

VS Vijayarasan Sivanandham Syncfusion Team March 12, 2021 07:08 PM UTC

Hi JP,

Thank you for contacting Syncfusion support.

A particular cell value can be retrieved from records in the SfDataGrid.View by using the row column index of the cell. For more information, please refer the below UG link,

UG Link: https://help.syncfusion.com/windowsforms/datagrid/selection#get-the-value-of-a-cell
 
Please let us know, if you require further assistance on this. 
Regards,
Vijayarasan S
 


Marked as answer

JP JP March 14, 2021 01:48 PM UTC

Thank you for the link and the assistance!


VS Vijayarasan Sivanandham Syncfusion Team March 15, 2021 05:42 AM UTC

Hi JP, 

Thanks for the update.
 
 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you😊. 
 
Regards, 
Vijayarasan S 


Loader.
Up arrow icon