Filter menu customization don't work in ASP.NET Core Grid

2 posts, 0 answers
  1. Tomasz
    Tomasz avatar
    2 posts
    Member since:
    May 2017

    Posted 24 Aug Link to this post

    Hi,

    I want to remove some filter menu options, but for ASP.NET core gird it didnt' work at all. Even your sample is buggy http://demos.telerik.com/aspnet-core/grid/filter-menu-customization. When I switch to pure JS smaple it will work properly.

     

  2. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    298 posts

    Posted 28 Aug Link to this post

    Hi,

    Thank you very much for taking the time to report this. I have now logged it as an issue and you may follow its progress at:

    https://github.com/telerik/kendo-ui-core/issues/3537

    Once a developer is assigned to fix it, you will be able to see a milestone appear to indicate which release will include the fix. As a workaround, you can:

    -  override the operators before the Kendo UI Grid for ASP.NET Core is created with JavaScript as shown the documentation here:

    http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-filterable.operators

    <script>
       kendo.ui.FilterMenu.fn.options.operators.string = {
         startswith: "Starts",
         eq: "Equal"
         neq: "Not equal"
       };
    </script>

    or

    - define them at a column level

    As a token of appreciation for helping us improve, I have added some Telerik points to your account.

    Kind Regards,
    Alex Hajigeorgieva
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top