After applying a filter in which there are no records to display, the custom component disappears in the filter template (FilterTemplate).
Code:
<
EjsGrid @ref="@Grid" DataSource="@Orders" AllowFiltering="true" AllowPaging="true" Height="315">
<
GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="120">
<
EjsDropDownList PlaceHolder="Customer Name" ID="CustomerID" Value="@((context as PredicateModel).Value)" DataSource="@Dropdown">
<
DropDownListEvents ValueChange="@Change" TValue="string">
<
DropDownListFieldSettings Value="CustomerID" Text="CustomerID">
<
GridColumn Field=@nameof(Order.OrderDate) HeaderText=" Order Date" Format="yMd" Type="ColumnType.Date" TextAlign="TextAlign.Right" Width="130">
<
GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" Width="120">