Syncfusion.SfDataGrid.XForms
Example 

GroupExpanding Event (SfDataGrid)

Occurs when a group is being expanded in SfDataGrid.
Syntax
public event GroupChangingEventHandler GroupExpanding
Event Data

The event handler receives an argument of type GroupChangingEventArgs containing data related to this event. The following GroupChangingEventArgs properties provide information specific to this event.

PropertyDescription
Gets or sets a value indicating whether the event should be canceled. (Inherited from Syncfusion.XForms.Core.CancelEventArgs)
Gets the corresponding group that is being expanded or collapsed in view.  
Gets the original reporting source that raising this event (Inherited from Syncfusion.SfDataGrid.XForms.GridCancelEventArgs)
Remarks
You can cancel or customize the group being expanded through GroupChangingEventArgs arguments. This event will not be raised when the group is expanded programmatically.
Example
dataGrid.GroupExpanding += DataGrid_GroupExpanding;
            
void DataGrid_GroupExpanding (object sender, GroupChangingEventArgs e)
{
//You can achieve your requirement here.
}
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.1451.0.38

See Also