This is a migrated thread and some comments may be shown as answers.

hide filter row with allowfilteringbycolumn

1 Answer 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
newbie
Top achievements
Rank 1
newbie asked on 18 May 2010, 09:03 PM
I have some hidden columns and some external comboboxes that controls the filter mechanism in the grid.
I filter using the hidden columns (I don't want to show these columns in the grid).
If I set allowfilteringbyColumn = "true" then the filter row shows up. I don't want to show the filter row but still aloowcolumnfiltering on my grid. Without that feature the grid loses its filterexpression and I find it hard and messy to apply multple filters.

Can you show me how to hide the filter row. I use multiple instances of grid throughout my application, so I don't want to change the grid css.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 18 May 2010, 09:35 PM
Hello,

Try this approach:
<telerik:RadGrid ....
....
        <ClientEvents OnGridCreated="function(sender) {sender.get_masterTableView().hideFilterItem(); }" />
    </ClientSettings>
....

Basic Filtering

Regards,
Daniel
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.
Tags
Grid
Asked by
newbie
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or