The event is triggered, but the row loses the highlight.
Similar to this issue:
Selected row loses highlight when RowSelected event is used | Blazor Forums | Syncfusion
```
@using Csc.Reports.Blazor.Utils
@using Csc.Reports.Reports.BookingChange
@using Csc.Reports.Blazor.Models.BookingChanges
@using SelectionMode=Syncfusion.Blazor.Grids.SelectionMode
@using SelectionType=Syncfusion.Blazor.Grids.SelectionType
<SfGrid TValue="CustomerStatsDto"
ContextMenuItems="GridSettings.ContextMenuItems"
FilterSettings="GridSettings.FilterSettings"
RowHeight="GridSettings.RowHeight"
Toolbar="GridSettings.Toolbar"
AllowSorting="GridSettings.AllowSorting"
AllowPaging="GridSettings.AllowPaging"
AllowFiltering="GridSettings.AllowFiltering"
AllowMultiSorting="GridSettings.AllowMultiSorting"
AllowGrouping="true"
AllowResizing="GridSettings.AllowResizing"
AllowReordering="GridSettings.AllowReordering"
ShowColumnChooser="GridSettings.ShowColumnChooser"
EnableHover="GridSettings.EnableHover"
EnablePersistence="GridSettings.EnablePersistence"
EnableStickyHeader="GridSettings.EnableStickyHeader"
AllowTextWrap="true"
AllowSelection="true"
DataSource="CustomersStatsData">
<GridEvents RowSelected="HandleRowSelected"
TValue="CustomerStatsDto" />
<GridTextWrapSettings WrapMode="WrapMode.Header"/>
<GridPageSettings PageSizes="true"
PageSize="5">
</GridPageSettings>
<GridColumns>
<GridColumn Field="@nameof(CustomerStatsDto.CustomerId)"
HeaderText="Customer ID"
AutoFit="true"
Visible="true"
AllowGrouping="false"/>
<GridColumn Field="@nameof(CustomerStatsDto.CustomerName)"
HeaderText="Customer"
Visible="true"
AllowGrouping="false"/>
<GridColumn Field="@nameof(CustomerStatsDto.Suburb)"
HeaderText="Suburb"
Visible="false"/>
<GridColumn Field="@nameof(CustomerStatsDto.PlantId)"
HeaderText="Plant ID"
Visible="false"/>
<GridColumn Field="@nameof(CustomerStatsDto.PlantName)"
HeaderText="Plant"
Visible="false"/>
<GridColumn Field="@nameof(CustomerStatsDto.Volume)"
HeaderText="Volume"
Visible="true"
AllowFiltering="false"
Format="N2"
AllowGrouping="false"/>
<GridColumn Field="@nameof(CustomerStatsDto.VolumeDeviation)"
HeaderText="Volume Deviation"
Visible="true"
AllowFiltering="false"
Format="N2"
AllowGrouping="false"/>
<GridColumn Field="@nameof(CustomerStatsDto.VolumeDeviationPercent)"
HeaderText="Volume Deviation (%)"
AllowFiltering="false"
Visible="true"
Format="N2"
AllowGrouping="false"/>
<GridColumn Field="@nameof(CustomerStatsDto.ConfirmedWorkPercent)"
HeaderText="Confirmed Work (%)"
AllowFiltering="false"
Visible="true"
Format="N2"
AllowGrouping="false"/>
<GridColumn Field="@nameof(CustomerStatsDto.LaterThanPlanned)"
HeaderText="Later Than Planned"
Visible="true"
AllowFiltering="false"
Format="N1"
AllowGrouping="false"/>
<GridColumn Field="@nameof(CustomerStatsDto.AverageMinOnSite)"
HeaderText="Avg OnSite Time (min)"
AllowFiltering="false"
Visible="true"
Format="N1"
AllowGrouping="false"/>
<GridColumn Field="@nameof(CustomerStatsDto.VarianceDelivery)"
HeaderText="Variance / Delivery"
AllowFiltering="false"
Visible="true"
Format="N2"
AllowGrouping="false"/>
</GridColumns>
</SfGrid>
@code {
[EditorRequired]
[Parameter]
public IEnumerable<CustomerStatsDto> CustomersStatsData { get; set; } = Enumerable.Empty<CustomerStatsDto>();
[EditorRequired]
[Parameter]
public EventCallback<ValueTuple<string, string>> OnRowSelected { get; set; }
private Task HandleRowSelected(RowSelectEventArgs<CustomerStatsDto> arg)
{
var customer = (arg.Data.CustomerId, arg.Data.CustomerName);
return OnRowSelected.InvokeAsync(customer);
}
}
```