Grid+Filter+Template?

I tried the demo code on https://blazor.radzen.com/datagrid-filter-template
and added a template with my custom control

<RadzenGrid Data="@(employees.Where(e => e.TitleOfCourtesy == currentTOC))"
            AllowFiltering="true" AllowPaging="true" AllowSorting="true" TItem="Employee" ColumnWidth="200px">

the rows can not be expanded with the button on the left side. as soon as i remove the filter condition:

<RadzenGrid Data="@(employees)"
            AllowFiltering="true" AllowPaging="true" AllowSorting="true" TItem="Employee" ColumnWidth="200px">

expansion of the subitem works. can we use filter conditions and expansion template together in this control?

You might need to use ToList() after Where().

just wanted to let you know we could not get it to work. as soon as we added any filter condition, including your suggestion, template expansion button in the grid rows become nonfunctional. but we made a UI change so this combined functionality is no longer required for us.
cheers