|
//Event Triggering
this.gridGroupingControl1.CurrentRecordContextChange += GridGroupingControl1_CurrentRecordContextChange;
//Event Customization
private void GridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
{
if(this.gridGroupingControl1.TableControl.CurrentCell.IsValid)
{
// code snippet to insert row values
}
} |
Hi Federico,
Thanks for your update.
We could understand your scenario. You can get the all
column values of a record by using Record.GetValue method. Please make
use of the below code.
Code snippet:
|
Record currentRecord =
e.TableControl.Table.CurrentRecord; foreach(GridColumnDescriptor col in this.gridGroupingControl1.TableDescriptor.Columns) { string cellValue =(string)currentRecord.GetValue(col.MappingName); //Your code } |
Please let us know if you have any queries,
Regards,
Piruthiviraj