We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Filter menu closes when choosing a condition.

On the grid control, I have a grid setup as such:

<EjsGrid @ref="@grid" @ref:suppressField DataSource="@ViewModel.FilteredDocuments" TValue="Document" ModelType="@model" AllowPaging="true" AllowSelection="true" AllowResizing="true" AllowReordering="true" AllowFiltering="true">
                    <GridPageSettings PageSizes="true"></GridPageSettings>
                    <GridFilterSettings Type="Syncfusion.EJ2.Blazor.Grids.FilterType.Menu"></GridFilterSettings>
                    <GridColumns>
                        <GridColumn Field="DocumentName" HeaderText="Document Name"></GridColumn>
                        <GridColumn Field="AssignedOn" HeaderText="Assigned On">
                            <Template>
                                @{
                                    var data = (context as Document);
                                    <span>@data.AssignedOn.ToShortDateString()</span>
                                }
                            </Template>
                        </GridColumn>
                        <GridColumn Field="AssignedBy" HeaderText="Assigned By"></GridColumn>
                        <GridColumn Field="ExpirationDate" HeaderText="Expiration Date">
                            <Template>
                                @{ 
                                    var data = (context as Document);
                                    <span>@data.ExpirationDate.ToShortDateString()</span>
                                }
                            </Template>
                        </GridColumn>
                        <GridColumn Field="LocationName" HeaderText="Facility Name">
                            <Template>
                                @{
                                    var data = (context as Document);
                                    if (!string.IsNullOrEmpty(data.LocationName))
                                    {
                                        if (IsAdmin)
                                        {
                                            <a rel='nofollow' href="/hq/location/@data.AssignedLocation.Id">@data.LocationName</a>
                                        }
                                        else
                                        {
                                            <a rel='nofollow' href="/external/location/@data.AssignedLocation.Id">@data.LocationName</a>
                                        }
                                    }
                                }
                            </Template>
                        </GridColumn>
                        <GridColumn Field="AssignedLocation.PrimaryUser" HeaderText="Facility Contact">
                            <Template>
                                @{
                                    var data = (context as Document);
                                    if (data.AssignedLocation.PrimaryUser != null && IsAdmin)
                                    {
                                        <a rel='nofollow' href="mailto:@data.AssignedLocation.PrimaryUser.EmailAddress"> @string.Format($"{data.AssignedLocation?.PrimaryUser?.FullName} {data.AssignedLocation?.PrimaryUser?.EmailAddress}")</a>
                                    }
                                    if (data.AssignedLocation.PrimaryUser != null && !IsAdmin)
                                    {
                                        <span>@data.AssignedLocation.PrimaryUser.FullName</span>
                                    }
                                    else if (data.AssignedLocation.PrimaryUser == null && IsAdmin)
                                    {
                                        <p>@L["No Primary User Assigned to Facility"]</p>
                                    }
                                }
                            </Template>
                        </GridColumn>
                    </GridColumns>
                </EjsGrid>


When I choose a filter type (contains, starts with, etc) the menu closes before I can start tying into the field. When I click filter again the selection goes back to the default...in my instance 'starts with'.




1 Reply

RS Renjith Singh Rajendran Syncfusion Team September 5, 2019 11:23 AM UTC

Hi ITninja, 

Thanks for contacting Syncfusion support. 

We have confirmed this problem as a bug and logged a bug report for the same. Thank you for taking the time to report this issue Filter menu closes when choosing a operator from dropdown 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 subsequent Nuget release which is expected to be roll out on or before September 6,  2019.  

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.  
 
Until then we appreciate your patience. 

Regards, 
Renjith Singh Rajendran. 


Loader.
Live Chat Icon For mobile
Up arrow icon