Custom Filter Control Freeze after first filter

I'm using a custom filter control and an odata adaptor in my grid and when I filter the first time it works perfectly.  However when I change the filter, the garbage collector starts to run over and over and the control never responds again.  If you clear the filter before you filter again, it works fine.

https://blazor.syncfusion.com/documentation/datagrid/filtering/#custom-component-in-filter-menu

<SfGrid @ref="@Grid" TValue="T_CAPACITY" AllowPaging="true" AllowSorting="true" AllowFiltering="true" AllowGrouping="true" Toolbar="@(new List<string>() { "Add""Edit""Delete""Cancel""Update" })">
  <SfDataManager Url="odata/T_CAPACITY" CrossDomain="true" Adaptor="Adaptors.ODataV4Adaptor"></SfDataManager>
  <GridFilterSettings Type="Syncfusion.Blazor.Grids.FilterType.Menu"></GridFilterSettings>
  <GridEditSettings AllowAdding="true" AllowEditing="true" AllowDeleting="true" Mode="EditMode.Normal"></GridEditSettings>
  <GridColumns>
    <GridColumn Field=@nameof(T_CAPACITY.PID) HeaderText="PID" IsPrimaryKey="true" Width="180" AllowEditing="false" AllowAdding="false" Visible="false"></GridColumn>
    <GridColumn Field=@nameof(T_CAPACITY.CAPACITY_TYPE) HeaderText="Type" FilterSettings="@(new FilterSettings { Operator = Operator.Equal })">
      <FilterTemplate>
        <SfDropDownList PlaceHolder="Type" @bind-Value="@((context as PredicateModel<string>).Value)" TValue="string" TItem="CAPACITY_TYPEData" DataSource="@CAPACITY_TYPES">
          <DropDownListFieldSettings Value="CAPACITY_TYPE" Text="CAPACITY_NAME"></DropDownListFieldSettings>
        </SfDropDownList>
      </FilterTemplate>
      <EditTemplate>
        <SfDropDownList TItem="CAPACITY_TYPEData" TValue="string" Placeholder="Select Capacity Type" @bind-Value="@((context as T_CAPACITY).CAPACITY_TYPE)" DataSource="@CAPACITY_TYPES">
          <DropDownListFieldSettings Value="CAPACITY_TYPE" Text="CAPACITY_NAME"></DropDownListFieldSettings>
        </SfDropDownList>
      </EditTemplate>
    </GridColumn>   
  </GridColumns>
</SfGrid>

3 Replies

RN Rahul Narayanasamy Syncfusion Team September 7, 2020 02:10 PM UTC

Hi Paul, 

Greetings from Syncfusion. 

We have validated your query and we are able to reproduce the reported problem. The page becomes unresponsive while filtering the value without clearing the previously filtered values in Custom component in menu filter. Currently we are validating the reported problem at our end and we will update the further details within two business days.  

Until then we appreciate your patience. 

Regards, 
Rahul 



RN Rahul Narayanasamy Syncfusion Team September 10, 2020 04:09 AM UTC

Hi Paul, 

Sorry for the inconvenience. 

We are facing some complexities while validating the reported problem and we have forwarded the reported problem to corresponding development team. We will update the further details as soon as possible(within two business days). Until then we appreciate your patience. 

Regards, 
Rahul 



RN Rahul Narayanasamy Syncfusion Team October 19, 2020 10:40 AM UTC

Hi Paul, 

Sorry for in get back to you. 

We have checked the problem and we can able to reproduce the problem at our end. You can resolve this problem(the page becomes unresponsive while filtering the value without clearing the previously filtered values in Custom component in menu filter) by upgrading Syncfusion NuGet version to 18.3.0.35 or latest version(18.3.0.41).  

After upgrading to this version, we have faced another problem. The selected value is not shown in filter dropdown. Instead it shows the previously filtered value. We have confirmed it as a bug and logged the defect report “Problem with selecting value for filtering from Dropdown in FilterTemplate Menu filter” for the same. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and including the defect fix in our upcoming bi-weekly release which is expected to be rolled by the mid of November, 2020.  
     
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.   
   

Regards, 
Rahul 
 


Loader.
Up arrow icon