|
this.gridGroupingControl1.SourceListRecordChanged += GridGroupingControl1_SourceListRecordChanged;
private void GridGroupingControl1_SourceListRecordChanged(object sender, Syncfusion.Grouping.RecordChangedEventArgs e)
{
if (e.Action == Syncfusion.Grouping.RecordChangedType.Changed)
{
//Make your implementation
}
} |
Hi Ruben,
Thanks for using Syncfusion product.
To get the event after row editing completed, you could use the Changed action in SourceListRecordChanged event. Please refer the following code example and the sample,Code example
this.gridGroupingControl1.SourceListRecordChanged += GridGroupingControl1_SourceListRecordChanged;private void GridGroupingControl1_SourceListRecordChanged(object sender, Syncfusion.Grouping.RecordChangedEventArgs e){if (e.Action == Syncfusion.Grouping.RecordChangedType.Changed){//Make your implementation}}
Arulraj A
|
Query |
Response |
|
One question, in a row when the user press enter key the SourceListRecordChanged fire first than KeyDown, it´s posible cancel the sourcelistrecordchanged? |
To avoid the record updating while pressing the enter key, you could handle the enter key behaviors using WantEnterKey property. Please refer to the following code example,
Code example
this.gridGroupingControl1.TableControl.WantEnterKey = false; |
|
When the Datasource of GGC it´s assigned to a binding source(mysql entity), for each value changed in row make one call to SourceListRecordChanged, Is it normal operation? |
Yes, SourceListRecordChanged event trigger after that completing the row editing. This is the behavior of this SourceListRecordChanged event.
To need the event support while changing the every cell value, you could use the RecordValueChanged event. Please refer the following code example,
Code example
this.gridGroupingControl1.Table.RecordValueChanged += Table_RecordValueChanged;
private void Table_RecordValueChanged(object sender, Syncfusion.Grouping.RecordValueChangedEventArgs e)
{
//Make your implementation
} |