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

How to change the style of grid filter?

1 Answer 276 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Carlos Marchi
Top achievements
Rank 1
Carlos Marchi asked on 30 Nov 2009, 05:58 PM
Hi Eveybody,

I built a page where there is a grid component, and then I accomplished to chage of its style. But I needed to put filter on the grid and I havent been accomplishing to change filter style of grid.

There are some columns on this grid, and there is a date column where there is a date filter for it. so the user clicks on date filter and he/she choose a date and then the grid is filtered with date that user choosed.

I have been needding to change this filter style, but I havent accomplished. The grid style is Office2007 and I setted this style with 

 

EnableEmbeddedSkins="false".

 

 


Also,  I need to set period of time the date filter, How can I do it too?

Has Somebody ever had this problem and situation? Can you help me, please?

Thank you for all attention,

Carlos

 

 

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 Dec 2009, 08:26 AM
Hi Carlos,

What do you mean by "filter style" - is it:

1) the style of the RadGrid filtering item - use FilterItemStyle
2) the style of the filtering controls (textboxes, date pickers, etc) - use the RadGrid ItemCreated event, check whether the current item (e.Item) is a GridFilteringItem, obtain a reference to the filtering control and customize it
3) the style of the filtering dropdown, which is a RadMenu control - refer to the RadMenu's documentation in order to learn more about that control. You can use the RadGrid's FilterMenu nested tag if appropriate.

<telerik:RadGrid>
    <FilterMenu CssClass="aaa">
        
    </FilterMenu>
</telerik:RadGrid>


Sincerely yours,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Carlos Marchi
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or