RadFilter show grid columns that are hidden

2 posts, 0 answers
  1. Mike Nogen
    Mike Nogen avatar
    34 posts
    Member since:
    May 2006

    Posted 28 May 2010 Link to this post

    Hello!

    I don´t know if this is by design or a bug. But if I have a grid with one or more columns that is hidden (not want to display them). The RadFilter still gives the user that choice in the RadFilter function.

    Is this the correct behavior? If so how can I programatically hide those hidden columns also for the RadFilter component?

    Or is this the way I should do it?

       protected void RadFilter1_FieldEditorCreated(object sender, RadFilterFieldEditorCreatedEventArgs e) 
        { 
            if (e.Editor.FieldName.Equals("BlockValue")) 
            { 
                this.RadFilter1.FieldEditors.Remove(e.Editor); 
            } 
        } 

     

    /M
  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 28 May 2010 Link to this post

    Hello Mike,

    Yes this is by design. You can set AllowFiltering to false of GridColumn which will prevent the column from showing in RadFilter's list of filterable fields.

    All the best,
    Nikolay
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top