Disable filter operators for all columns in row filter mode

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    2 posts
    Member since:
    May 2011

    Posted 27 Jun Link to this post


    Is it possible to disable the operators button for all cells (in row filter mode) without having to apply it to every column.

    At the moment I have the code below but ideally just want this applied at a more global level

        columns.Bound(c => c.JobTitle).Width(400).Filterable(f => f.Cell(cell => cell.ShowOperators(false)));



  2. Georgi
    Georgi avatar
    169 posts

    Posted 29 Jun Link to this post

    Hi Andrew,

    There is no built in functionality to disable the operators button for all cells in row filtering mode globally. To avoid code duplication you can hide the buttons using the CSS from the following code snippet:

    th [role="listbox"]{
          visibility: hidden;

    The following dojo sample demonstrates how the aforementioned approach behaves:

    Have in mind that hiding the buttons with CSS wont remove them from the DOM. In case you want to completely remove the buttons, you can remove them using JavaScript after the document is "ready".

    The dojo below illustrates how to remove the buttons with JavaScript: 

    Since both aforementioned approaches are client-side, the examples from the dojos are applicable for Kendo UI Grid for ASP.NET as well.

    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