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

RadGrid FilterMenu Location

2 Answers 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ajenski
Top achievements
Rank 1
ajenski asked on 19 Aug 2008, 06:01 PM
Hello,
I am using a radgrid inside a masterpage and have column filtering turned on.  When I choose the filter button for any of my columns I get the filter menu displayed, but its location offset from the filter icon to the right 300pixels or so. 

Is there a setting/css value that I need to adjust in order to position the filter menu closer to the filter icon.  Also is it possible to have the skin of the filter menu set differently than the skin of the grid?  Right now my filter menu gets its looks from the App_themed menu skin I am using.

thanks,
Anders

2 Answers, 1 is accepted

Sort by
0
ajenski
Top achievements
Rank 1
answered on 19 Aug 2008, 09:13 PM
Hello, 

We did a little more research and it turns out that if the grid is 100% of the width bowser window the filter menu appears in the expected spot (just to the right of the filter control).

However, the site we are developing has its 1024px width worth of content centered on the available browser window.  Therefore in the case of a 1920px wide browser window, I have an active 1024px worth of site in the center of the screen and (1920-1024)/2 pixels of "filler background" on each side of the "active" site.  In this case when I get a RadGrid filter menu it shows up too far to the right of the funnel icon - Perhaps the positioning of the filter menu factors in the width of the display to find the offset of the menu and not the width of the grid?

Is there a way to address this?

thanks in advance,
Anders
0
Veli
Telerik team
answered on 25 Aug 2008, 08:08 AM
Hello ajenski,

To customize the filter menu, you can use the

.RadMenu_[SkinName] .rmGroup {} CSS classes

combination and the

.rmItem{}

class for filter items.

As for the filter menu displacement, could you, please consider opening a regular support ticket where you can provide us a sample runnable project we can examine. This misbehavior seems to be a layout issue that may also be inherent to some browsers. Could you, please, specify whether you are getting the same behavior on multiple browsers, or is it just a specific one that breaks the layout.

Kind regards,
Veli
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
ajenski
Top achievements
Rank 1
Answers by
ajenski
Top achievements
Rank 1
Veli
Telerik team
Share this question
or