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

AllowFiltering=false is still showing the filter bar

My grid as AllowFiltering="false" but the filter bar at the top of the grid is still showing. How can I remove it completely?

<SfGrid DataSource="@additionalPermissions" TItem="AdditionalPermission" TValue="AdditionalPermission" AllowSorting="false" AllowFiltering="false">

    <GridEditSettings AllowAdding="false" AllowEditing="true" AllowDeleting="false" AllowEditOnDblClick="false" />
        <GridColumns>
            <GridColumn AutoFit="true">
                <Template>
                    @{
                        var additionalPermission = (context as AdditionalPermission);
                        <SfCheckBox @bind-Checked="@additionalPermission.Enabled" TChecked="bool" />
                    }
                </Template>
            </GridColumn>
        <GridColumn Field="@nameof(AdditionalPermission.CustomRolePermissionID)" IsPrimaryKey="true" Visible="false" />
        <GridColumn Field="@nameof(AdditionalPermission.PermissionID)" Visible="false" />
        <GridColumn Field="@nameof(AdditionalPermission.PermissionName)" HeaderText="" AllowEditing="false" AutoFit="true" />
    </GridColumns>
</SfGrid>

1 Reply

PS Prathap Senthil Syncfusion Team January 27, 2023 11:56 AM UTC

Greetings from Syncfusion support,

We understand that you are facing an issue with the filter bar showing on your grid even though AllowFiltering is set to false. We have tried reproducing the issue in our recent version (20.4.0.44) but were unable to do so. We recommend upgrading to the latest version of our software to see if that resolves the issue. We have included a screenshot and sample for your reference.

Graphical user interface, application

Description automatically generated


In order to assist in troubleshooting the issue, we kindly request that you provide a simple reproducible sample or if possible, try modifying the attached sample to see if the issue can be reproduced there. We appreciate your cooperation and hope to resolve this issue for you as soon as possible.

Regards,
Prathap S


Attachment: DataGrid_ab5d3513.zip

Loader.
Live Chat Icon For mobile
Up arrow icon