Hide filter for uniqueId

2 posts, 0 answers
  1. Javier
    Javier avatar
    1 posts
    Member since:
    Aug 2017

    Posted 15 Jul Link to this post

         Hello!

     

    I recently started using RadFilter control instead of the filters that were inside the radgrid, but I can't get to hide the uniqueId on the RadFilter options even though it doesn't show on my radgrid.

     

    I am building dinamically my radgrid, so I am not sure where to write or if it is possible to set "allowFiltering to false"

     

    I am attaching an image where it shows "unique Id" as a filter option even though it doesn't show up as a column on my radgrid

     

    Thanks in advance!

  2. Attila Antal
    Admin
    Attila Antal avatar
    425 posts

    Posted 18 Jul Link to this post

    Hi Javier,

    Try disabling the filtering for the columns you do not want to list in the RadFilter options. Set its AllowFiltering property to false.

    Example:

    <telerik:GridBoundColumn DataField="OrderID" DataType="System.Int32" AllowFiltering="false"
        FilterControlAltText="Filter OrderID column" HeaderText="OrderID"
        ReadOnly="True" SortExpression="OrderID" UniqueName="OrderID">
    </telerik:GridBoundColumn>

    Result:





    Kind regards,
    Attila Antal
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top